Class JscriptWorkflowNode

    • Constructor Detail

      • JscriptWorkflowNode

        public JscriptWorkflowNode​(String name,
                                   String title,
                                   String description,
                                   boolean isTaskNode,
                                   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 String getName()
        Gets the value of the name property
        Returns:
        the name
      • getTitle

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

        public 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