Package org.kuali.rice.kew.engine.node
Class NodeType
java.lang.Object
org.kuali.rice.kew.engine.node.NodeType
A typesafe enumeration defining the various types of Nodes in the Workflow Engine.
This class was added to aid in unifying the node type concept across multiple
components within the system. It also defines type hierarchys for the various
node types.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NodeTypefromClassName(String className) static NodeTypestatic NodeTypefromNodeInstance(RouteNodeInstance nodeInstance) intgetName()inthashCode()booleanisAssignableFrom(Class typeClass) booleanisAssignableFrom(NodeType type) booleanisCustomNode(String className) booleanisInstanceOf(Object object) booleanboolean
-
Field Details
-
SIMPLE
-
SPLIT
-
JOIN
-
SUB_PROCESS
-
DYNAMIC
-
REQUEST_ACTIVATION
-
START
-
REQUESTS
-
ROLE
-
-
Method Details
-
getExtensionBase
-
getBaseClass
-
getDefaultClass
-
getName
-
getExtensionDepth
public int getExtensionDepth() -
isAssignableFrom
-
isAssignableFrom
-
isInstanceOf
-
isTypeOf
-
isTypeOf
-
isCustomNode
-
equals
-
hashCode
public int hashCode() -
fromClassName
public static NodeType fromClassName(String className) throws org.kuali.rice.kew.api.exception.ResourceUnavailableException - Throws:
org.kuali.rice.kew.api.exception.ResourceUnavailableException
-
fromNode
public static NodeType fromNode(RouteNode node) throws org.kuali.rice.kew.api.exception.ResourceUnavailableException - Throws:
org.kuali.rice.kew.api.exception.ResourceUnavailableException
-
fromNodeInstance
public static NodeType fromNodeInstance(RouteNodeInstance nodeInstance) throws org.kuali.rice.kew.api.exception.ResourceUnavailableException - Throws:
org.kuali.rice.kew.api.exception.ResourceUnavailableException
-
getTypeList
-