org.deckfour.xes.extension.std
Enum XLifecycleExtension.StandardModel

java.lang.Object
  extended by java.lang.Enum<XLifecycleExtension.StandardModel>
      extended by org.deckfour.xes.extension.std.XLifecycleExtension.StandardModel
All Implemented Interfaces:
Serializable, Comparable<XLifecycleExtension.StandardModel>
Enclosing class:
XLifecycleExtension

public static enum XLifecycleExtension.StandardModel
extends Enum<XLifecycleExtension.StandardModel>

Enumeration for the standard lifecycle model.

Author:
Christian W. Guenther (christian@deckfour.org)

Enum Constant Summary
ASSIGN
           
ATE_ABORT
           
AUTOSKIP
           
COMPLETE
           
MANUALSKIP
           
PI_ABORT
           
REASSIGN
           
RESUME
           
SCHEDULE
           
START
           
SUSPEND
           
UNKNOWN
           
WITHDRAW
           
 
Method Summary
static XLifecycleExtension.StandardModel decode(String encoding)
          Decodes any encoding string, referring to the respective standard-model lifecycle transition object in this enum.
 String getEncoding()
          Retrieves the encoding of the standard transition.
static XLifecycleExtension.StandardModel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XLifecycleExtension.StandardModel[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SCHEDULE

public static final XLifecycleExtension.StandardModel SCHEDULE

ASSIGN

public static final XLifecycleExtension.StandardModel ASSIGN

WITHDRAW

public static final XLifecycleExtension.StandardModel WITHDRAW

REASSIGN

public static final XLifecycleExtension.StandardModel REASSIGN

START

public static final XLifecycleExtension.StandardModel START

SUSPEND

public static final XLifecycleExtension.StandardModel SUSPEND

RESUME

public static final XLifecycleExtension.StandardModel RESUME

PI_ABORT

public static final XLifecycleExtension.StandardModel PI_ABORT

ATE_ABORT

public static final XLifecycleExtension.StandardModel ATE_ABORT

COMPLETE

public static final XLifecycleExtension.StandardModel COMPLETE

AUTOSKIP

public static final XLifecycleExtension.StandardModel AUTOSKIP

MANUALSKIP

public static final XLifecycleExtension.StandardModel MANUALSKIP

UNKNOWN

public static final XLifecycleExtension.StandardModel UNKNOWN
Method Detail

values

public static XLifecycleExtension.StandardModel[] 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 (XLifecycleExtension.StandardModel c : XLifecycleExtension.StandardModel.values())
    System.out.println(c);

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

valueOf

public static XLifecycleExtension.StandardModel valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getEncoding

public String getEncoding()
Retrieves the encoding of the standard transition.

Returns:
Encoding of this standard transition.

decode

public static XLifecycleExtension.StandardModel decode(String encoding)
Decodes any encoding string, referring to the respective standard-model lifecycle transition object in this enum.

Parameters:
encoding - Encoding string.
Returns:
Standard-model transition.