org.olat.course.condition.interpreter
Class GetAttemptsFunction

java.lang.Object
  extended by com.neemsoft.jmep.FunctionCB
      extended by org.olat.course.condition.interpreter.AbstractFunction
          extended by org.olat.course.condition.interpreter.GetAttemptsFunction

public class GetAttemptsFunction
extends AbstractFunction

Description:
Function to get the number of attempts a user tried to solve a test, do a questionnaire and alike. Meaning may be different on the various course building blocks.

Author:
gnaegi Initial Date: Oct 26, 2004

Field Summary
static java.lang.String name
           
 
Constructor Summary
GetAttemptsFunction(UserCourseEnvironment userCourseEnv)
          Default constructor to use the get attempts object
 
Method Summary
 java.lang.Object call(java.lang.Object[] inStack)
           
 
Methods inherited from class org.olat.course.condition.interpreter.AbstractFunction
getUserCourseEnv
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public static final java.lang.String name
See Also:
Constant Field Values
Constructor Detail

GetAttemptsFunction

public GetAttemptsFunction(UserCourseEnvironment userCourseEnv)
Default constructor to use the get attempts object

Parameters:
userCourseEnv -
Method Detail

call

public java.lang.Object call(java.lang.Object[] inStack)
Specified by:
call in class AbstractFunction
See Also:
FunctionCB.call(java.lang.Object[])