de.danet.an.workflow.api
Class Activity.StartFinishMode

java.lang.Object
  extended byde.danet.an.workflow.api.Activity.StartFinishMode
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Activity

public static class Activity.StartFinishMode
extends java.lang.Object
implements java.io.Serializable

This class defines the values for start and finish mode for an Activity.

See Also:
Serialized Form

Field Summary
static Activity.StartFinishMode AUTOMATIC
          Triggered implicitly by the system.
static Activity.StartFinishMode MANUAL
          Triggered explicitly by the user.
 
Constructor Summary
protected Activity.StartFinishMode(java.lang.String text)
          Default constructor.
 
Method Summary
static Activity.StartFinishMode fromString(java.lang.String mode)
          Convert a string to a StartFinishMode.
 java.lang.String toString()
          Returns the mode as text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTOMATIC

public static final Activity.StartFinishMode AUTOMATIC
Triggered implicitly by the system.


MANUAL

public static final Activity.StartFinishMode MANUAL
Triggered explicitly by the user.

Constructor Detail

Activity.StartFinishMode

protected Activity.StartFinishMode(java.lang.String text)
Default constructor.

Parameters:
text - textual representation of the activity mode.
Method Detail

toString

public java.lang.String toString()
Returns the mode as text.

Returns:
mode as text

fromString

public static Activity.StartFinishMode fromString(java.lang.String mode)
Convert a string to a StartFinishMode.

Parameters:
mode - the mode to convert.
Returns:
the result.