public class JscriptWorkflowNode
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
JscriptWorkflowNode(java.lang.String name,
java.lang.String title,
java.lang.String description,
boolean isTaskNode,
java.util.ArrayList 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 |
|---|---|
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() |
public JscriptWorkflowNode(java.lang.String name,
java.lang.String title,
java.lang.String description,
boolean isTaskNode,
java.util.ArrayList 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 java.lang.String getName()
name propertypublic java.lang.String getTitle()
title propertypublic java.lang.String getDescription()
description propertypublic boolean isTaskNode()
isTaskNode propertypublic org.mozilla.javascript.Scriptable getTransitions()
transitions propertypublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.