org.yawlfoundation.yawl.worklet.rdr
Enum RuleType

java.lang.Object
  extended by java.lang.Enum<RuleType>
      extended by org.yawlfoundation.yawl.worklet.rdr.RuleType
All Implemented Interfaces:
Serializable, Comparable<RuleType>

public enum RuleType
extends Enum<RuleType>

Author:
Michael Adams
Created/Last Date:
12/12/11

Enum Constant Summary
CaseExternalTrigger
           
CasePostconstaint
           
CasePreconstraint
           
ItemAbort
           
ItemConstraintViolation
           
ItemExternalTrigger
           
ItemPostconstaint
           
ItemPreconstraint
           
ItemResourceUnavailable
           
ItemSelection
           
ItemTimeout
           
 
Method Summary
static RuleType fromString(String s)
           
 boolean isCaseLevelType()
           
 boolean isExecutingItemType()
          returns true if the exception type passed occurs for an executing workitem
 boolean isItemLevelType()
           
 String toLongString()
           
 String toString()
           
static RuleType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RuleType[] 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

CasePreconstraint

public static final RuleType CasePreconstraint

CasePostconstaint

public static final RuleType CasePostconstaint

ItemPreconstraint

public static final RuleType ItemPreconstraint

ItemPostconstaint

public static final RuleType ItemPostconstaint

ItemAbort

public static final RuleType ItemAbort

ItemTimeout

public static final RuleType ItemTimeout

ItemResourceUnavailable

public static final RuleType ItemResourceUnavailable

ItemConstraintViolation

public static final RuleType ItemConstraintViolation

CaseExternalTrigger

public static final RuleType CaseExternalTrigger

ItemExternalTrigger

public static final RuleType ItemExternalTrigger

ItemSelection

public static final RuleType ItemSelection
Method Detail

values

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

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

valueOf

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

isCaseLevelType

public boolean isCaseLevelType()

isItemLevelType

public boolean isItemLevelType()

isExecutingItemType

public boolean isExecutingItemType()
returns true if the exception type passed occurs for an executing workitem


toLongString

public String toLongString()

toString

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

fromString

public static RuleType fromString(String s)


Copyright © 2004-2012 The YAWL Foundation.