org.yawlfoundation.yawl.engine
Enum YWorkItemStatus

java.lang.Object
  extended by java.lang.Enum<YWorkItemStatus>
      extended by org.yawlfoundation.yawl.engine.YWorkItemStatus
All Implemented Interfaces:
Serializable, Comparable<YWorkItemStatus>

public enum YWorkItemStatus
extends Enum<YWorkItemStatus>

Author:
Mike Fowler Date: 16-Oct-2006

Enum Constant Summary
statusCancelledByCase
           
statusComplete
           
statusDeadlocked
           
statusDeleted
           
statusDiscarded
           
statusEnabled
           
statusExecuting
           
statusFailed
           
statusFired
           
statusForcedComplete
           
statusIsParent
           
statusSuspended
           
 
Method Summary
static YWorkItemStatus fromString(String s)
           
 String toString()
           
static YWorkItemStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static YWorkItemStatus[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

statusEnabled

public static final YWorkItemStatus statusEnabled

statusFired

public static final YWorkItemStatus statusFired

statusExecuting

public static final YWorkItemStatus statusExecuting

statusComplete

public static final YWorkItemStatus statusComplete

statusIsParent

public static final YWorkItemStatus statusIsParent

statusDeadlocked

public static final YWorkItemStatus statusDeadlocked

statusDeleted

public static final YWorkItemStatus statusDeleted

statusForcedComplete

public static final YWorkItemStatus statusForcedComplete

statusFailed

public static final YWorkItemStatus statusFailed

statusSuspended

public static final YWorkItemStatus statusSuspended

statusCancelledByCase

public static final YWorkItemStatus statusCancelledByCase

statusDiscarded

public static final YWorkItemStatus statusDiscarded
Method Detail

values

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

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

valueOf

public static YWorkItemStatus 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

toString

public String toString()
Overrides:
toString in class Enum<YWorkItemStatus>

fromString

public static YWorkItemStatus fromString(String s)


Copyright © 2004-2012 The YAWL Foundation.