org.wizard4j.user
Enum EUserAction

java.lang.Object
  extended by java.lang.Enum<EUserAction>
      extended by org.wizard4j.user.EUserAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EUserAction>

public enum EUserAction
extends java.lang.Enum<EUserAction>

List of possible user actions.


Enum Constant Summary
CANCEL
          Cancel a flowchart execution.
EXPLICITSAVE
          Save action (will only be present when a FlowchartMonitor is connected to the session).
GOTOINDEX
          Goto certain (already visited) user interaction in flowchart execution by specifying the index of the user interaction.
GOTOSTATE
          Goto certain (already visited) user interaction in flowchart execution by specifying the state of the user interaction.
NEXT
          Goto next user interaction in flowchart execution.
PREVIOUS
          Goto previous user interaction in flowchart execution.
RATE
          Rate action (will only be present when a FlowchartMonitor is connected to the session).
START
          (Re)start a flowchart execution.
 
Method Summary
static EUserAction getActionByLabel(java.lang.String label)
           
 java.lang.String label()
           
static EUserAction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EUserAction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

START

public static final EUserAction START
(Re)start a flowchart execution.


CANCEL

public static final EUserAction CANCEL
Cancel a flowchart execution.


NEXT

public static final EUserAction NEXT
Goto next user interaction in flowchart execution.


PREVIOUS

public static final EUserAction PREVIOUS
Goto previous user interaction in flowchart execution.


GOTOINDEX

public static final EUserAction GOTOINDEX
Goto certain (already visited) user interaction in flowchart execution by specifying the index of the user interaction.


GOTOSTATE

public static final EUserAction GOTOSTATE
Goto certain (already visited) user interaction in flowchart execution by specifying the state of the user interaction.


EXPLICITSAVE

public static final EUserAction EXPLICITSAVE
Save action (will only be present when a FlowchartMonitor is connected to the session).


RATE

public static final EUserAction RATE
Rate action (will only be present when a FlowchartMonitor is connected to the session).

Method Detail

values

public static EUserAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EUserAction c : EUserAction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EUserAction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

label

public java.lang.String label()

getActionByLabel

public static EUserAction getActionByLabel(java.lang.String label)