public class JscriptWorkflowNode extends Object implements Serializable
| Constructor and Description |
|---|
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
|
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
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the
description property |
String |
getName()
Gets the value of the
name property |
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 |
String |
toString() |
public JscriptWorkflowNode(String name, String title, String description, boolean isTaskNode, ArrayList<JscriptWorkflowTransition> transitions, org.mozilla.javascript.Scriptable scope, ServiceRegistry serviceRegistry)
name - Name of workflow nodetitle - Title of workflow nodedescription - Description of workflow nodeisTaskNode - true if this node is a task nodetransitions - transitions leaving this node (null if none)scope - root scripting scope for this objectserviceRegistry - service registry objectpublic JscriptWorkflowNode(WorkflowNode workflowNode, org.mozilla.javascript.Scriptable scope, ServiceRegistry serviceRegistry)
workflowNode - CMR workflow node object to create
new JscriptWorkflowNode fromscope - root scripting scope for this newly instantiated objectserviceRegistry - service registry objectpublic String getName()
name propertypublic String getTitle()
title propertypublic String getDescription()
description propertypublic boolean isTaskNode()
isTaskNode propertypublic org.mozilla.javascript.Scriptable getTransitions()
transitions propertyCopyright © 2005–2018 Alfresco Software. All rights reserved.