com.waveset.object
Class WFCase.Step.State

java.lang.Object
  extended bycom.waveset.object.WFCase.Step.State
Enclosing class:
WFCase.Step

public static class WFCase.Step.State
extends java.lang.Object

An "enumeration" of constants used to indicate the state of the step. These are similar to the TaskState constants, but there are enough differences that I didn't want to confuse things by using the same set of constants to mean different things.


Field Summary
static WFCase.Step.State COMPLETE
          Indicates that the step has completed all of its automatic and manual actions.
static WFCase.Step.State EXECUTING
          Indicates that the manual actions are being executed.
static WFCase.Step.State INACTIVE
          Indicates that the step is not active.
static WFCase.Step.State[] ITEMS
           
static WFCase.Step.State READY
          Indicates that the step is ready for execution.
static WFCase.Step.State WAITING
          Indicates that the step is waiting for one or more inward AND-Join transitions.
 
Method Summary
static WFCase.Step.State fromString(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

READY

public static final WFCase.Step.State READY
Indicates that the step is ready for execution. None of the actions have been performed yet. This is normally a short-lived rumtime state, we almost immediately transition to the EXECUTING state.


EXECUTING

public static final WFCase.Step.State EXECUTING
Indicates that the manual actions are being executed. Steps will persist in this state until all of the required work items associated with manual actions have been dealt with.


WAITING

public static final WFCase.Step.State WAITING
Indicates that the step is waiting for one or more inward AND-Join transitions. An step that specifies an AND Join, cannot be activated until all incomming transitions have been made.


COMPLETE

public static final WFCase.Step.State COMPLETE
Indicates that the step has completed all of its automatic and manual actions. At this point, the step may transition out, if transition conditions allow it. If a transition can be made, the step will become INACTIVE. Most steps do not remain in a comlete state very long, the only time steps linger in a complete state is when their outward transition expressions are gated by variables that have not yet been set.


INACTIVE

public static final WFCase.Step.State INACTIVE
Indicates that the step is not active. A step enters this state when it becomes COMPLETE, and a transition out of the step is available. After the transition, the step is marked INACTIVE so it is removed from any further consideration. The case may keep inactive steps around as an execution history for debugging, or it may remove them.


ITEMS

public static final WFCase.Step.State[] ITEMS
Method Detail

toString

public java.lang.String toString()

fromString

public static WFCase.Step.State fromString(java.lang.String name)