Package org.kuali.rice.kew.engine.node
Class ActivationTypeEnum
java.lang.Object
org.kuali.rice.kew.engine.node.ActivationTypeEnum
- All Implemented Interfaces:
Coded
Activation Type enum type which defines the two types of activation within the engine.
Sequential activation means that only a single request on a node will get activated at a time.
Parallel activation means that all requests on a node will be activated.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ActivationTypeEnumRouting should process the associated ActionRequests in parallelstatic final ActivationTypeEnumRouting should process the associated ActionRequests in parallel according to prioritystatic final ActivationTypeEnumRouting should process the associated ActionRequests in sequence -
Method Summary
Modifier and TypeMethodDescriptiongetCode()getLabel()getName()static ActivationTypeEnumlookupCode(String code) Parses the code verbatim and returns the enum type that matches that code exactlystatic ActivationTypeEnumParses the string and returns the enum type whose code, name, or label matches the string regardless of casetoString()
-
Field Details
-
SEQUENTIAL
Routing should process the associated ActionRequests in sequence -
PARALLEL
Routing should process the associated ActionRequests in parallel -
PRIORITY_PARALLEL
Routing should process the associated ActionRequests in parallel according to priority
-
-
Method Details
-
getCode
-
getName
-
getLabel
-
toString
-
lookupCode
Parses the code verbatim and returns the enum type that matches that code exactly- Parameters:
code- the activation type code- Returns:
- the enum type
- Throws:
IllegalArgumentException- if code is null, or invalid
-
parse
Parses the string and returns the enum type whose code, name, or label matches the string regardless of case- Parameters:
string- the activation type string- Returns:
- the enum type
- Throws:
IllegalArgumentException- if string is null, or invalid
-