|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.workflow.jscript.JscriptWorkflowNode
public class JscriptWorkflowNode
Represents a Workflow Node within the Workflow Definition.
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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 |
---|
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 objectMethod Detail |
---|
public java.lang.String getName()
name
property
public java.lang.String getTitle()
title
property
public java.lang.String getDescription()
description
property
public boolean isTaskNode()
isTaskNode
property
public org.mozilla.javascript.Scriptable getTransitions()
transitions
property
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |