Class NodeType

java.lang.Object
org.kuali.rice.kew.engine.node.NodeType

public class NodeType extends Object
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 Details

    • SIMPLE

      public static final NodeType SIMPLE
    • SPLIT

      public static final NodeType SPLIT
    • JOIN

      public static final NodeType JOIN
    • SUB_PROCESS

      public static final NodeType SUB_PROCESS
    • DYNAMIC

      public static final NodeType DYNAMIC
    • REQUEST_ACTIVATION

      public static final NodeType REQUEST_ACTIVATION
    • START

      public static final NodeType START
    • REQUESTS

      public static final NodeType REQUESTS
    • ROLE

      public static final NodeType ROLE
  • Method Details

    • getExtensionBase

      public NodeType getExtensionBase()
    • getBaseClass

      public Class getBaseClass()
    • getDefaultClass

      public Class getDefaultClass()
    • getName

      public String getName()
    • getExtensionDepth

      public int getExtensionDepth()
    • isAssignableFrom

      public boolean isAssignableFrom(Class typeClass)
    • isAssignableFrom

      public boolean isAssignableFrom(NodeType type)
    • isInstanceOf

      public boolean isInstanceOf(Object object)
    • isTypeOf

      public boolean isTypeOf(Class typeClass)
    • isTypeOf

      public boolean isTypeOf(NodeType type)
    • isCustomNode

      public boolean isCustomNode(String className)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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

      public static List<NodeType> getTypeList()