Class JscriptWorkflowNode

  • All Implemented Interfaces:
    java.io.Serializable

    public class JscriptWorkflowNode
    extends java.lang.Object
    implements java.io.Serializable
    Represents a Workflow Node within the Workflow Definition.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JscriptWorkflowNode​(java.lang.String name, java.lang.String title, java.lang.String description, boolean isTaskNode, java.util.ArrayList<JscriptWorkflowTransition> transitions, org.mozilla.javascript.Scriptable scope, ServiceRegistry serviceRegistry)
      Constructor to create a new instance of this class
      JscriptWorkflowNode​(WorkflowNode workflowNode, org.mozilla.javascript.Scriptable scope, ServiceRegistry serviceRegistry)
      Constructor to create a new instance of this class from an existing instance of WorkflowNode from the CMR workflow object model
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Gets the value of the description property
      java.lang.String getName()
      Gets the value of the name property
      java.lang.String getTitle()
      Gets the value of the title property
      org.mozilla.javascript.Scriptable getTransitions()
      Gets the value of the transitions property
      boolean isTaskNode()
      Gets the value of the isTaskNode property
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JscriptWorkflowNode

        public JscriptWorkflowNode​(java.lang.String name,
                                   java.lang.String title,
                                   java.lang.String description,
                                   boolean isTaskNode,
                                   java.util.ArrayList<JscriptWorkflowTransition> transitions,
                                   org.mozilla.javascript.Scriptable scope,
                                   ServiceRegistry serviceRegistry)
        Constructor to create a new instance of this class
        Parameters:
        name - Name of workflow node
        title - Title of workflow node
        description - Description of workflow node
        isTaskNode - true if this node is a task node
        transitions - transitions leaving this node (null if none)
        scope - root scripting scope for this object
        serviceRegistry - service registry object
      • JscriptWorkflowNode

        public JscriptWorkflowNode​(WorkflowNode workflowNode,
                                   org.mozilla.javascript.Scriptable scope,
                                   ServiceRegistry serviceRegistry)
        Constructor to create a new instance of this class from an existing instance of WorkflowNode from the CMR workflow object model
        Parameters:
        workflowNode - CMR workflow node object to create new JscriptWorkflowNode from
        scope - root scripting scope for this newly instantiated object
        serviceRegistry - service registry object
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the value of the name property
        Returns:
        the name
      • getTitle

        public java.lang.String getTitle()
        Gets the value of the title property
        Returns:
        the title
      • getDescription

        public java.lang.String getDescription()
        Gets the value of the description property
        Returns:
        the description
      • isTaskNode

        public boolean isTaskNode()
        Gets the value of the isTaskNode property
        Returns:
        the isTaskNode
      • getTransitions

        public org.mozilla.javascript.Scriptable getTransitions()
        Gets the value of the transitions property
        Returns:
        the transitions
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object