public abstract class WfVertex extends GraphableVertex
| Modifier and Type | Class and Description |
|---|---|
static class |
WfVertex.Types |
mIsComposite| Constructor and Description |
|---|
WfVertex() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
abstract Next |
addNext(WfVertex vertex) |
Object |
evaluateProperty(ItemPath itemPath,
String propName,
Object locker) |
Object |
evaluatePropertyValue(ItemPath itemPath,
Object propValue,
Object locker) |
protected Object |
evaluateScript(String scriptName,
Integer scriptVersion,
ItemPath itemPath,
Object locker) |
protected GraphableVertex |
findPair(String pairingID)
Find the vertex with the same PairingID property
|
String |
getActContext()
Derive the path of the parent CompositeAct in which the script is running
|
abstract String |
getErrors()
Method getErrors.
|
protected String |
getOtherPairingID(WfVertex otherVertex)
Retrieve the PairingID of the other vertex
|
Workflow |
getWf() |
protected Boolean |
isMyPair(WfVertex otherVertex)
Checks if the vertex has a pairing id or not and if it has one compares it with the other vertex pairing id
|
abstract boolean |
loop() |
abstract void |
reinit(int idLoop) |
abstract void |
run(AgentPath agent,
ItemPath itemPath,
Object locker) |
abstract void |
runFirst(AgentPath agent,
ItemPath itemPath,
Object locker)
Sets the activity available to be executed on start of Workflow or composite activity
(when it is the first one of the (sub)process)
|
abstract void |
runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
abstract boolean |
verify()
Method verify.
|
addChild, deriveVersionNumber, getBuiltInProperty, getBuiltInProperty, getCentrePoint, getChildren, getChildrenEdges, getChildrenGraphModel, getCreationContext, getInEdgeIds, getInEdges, getIsComposite, getIsLayoutable, getKeyValuePairs, getLayoutableChildren, getOutEdgeIds, getOutEdges, getOutGraphables, getOutlinePoints, getParent, getPath, getProperties, search, setBuiltInProperty, setChildrenGraphModel, setIsComposite, setIsLayoutable, setKeyValuePairs, setParent, setProperties, updatePropertiesFromCollection, updatePropertiesFromCollectionaddInEdgeId, addOutEdgeId, clearTag, containsPoint, hasTag, isJoin, isLoop, moveAbsolute, removeInEdgeId, removeOutEdgeId, setInEdgeIds, setOutEdgeIds, setOutlinePoints, setTagpublic abstract void runFirst(AgentPath agent, ItemPath itemPath, Object locker) throws InvalidDataException
InvalidDataExceptionpublic abstract void runNext(AgentPath agent, ItemPath itemPath, Object locker) throws InvalidDataException
InvalidDataExceptionpublic abstract void reinit(int idLoop)
throws InvalidDataException
InvalidDataExceptionpublic void abort()
public abstract boolean verify()
public abstract String getErrors()
public abstract void run(AgentPath agent, ItemPath itemPath, Object locker) throws InvalidDataException
InvalidDataExceptionpublic abstract boolean loop()
public String getActContext()
public Object evaluateProperty(ItemPath itemPath, String propName, Object locker) throws InvalidDataException, PersistencyException, ObjectNotFoundException
public Object evaluatePropertyValue(ItemPath itemPath, Object propValue, Object locker) throws InvalidDataException, PersistencyException, ObjectNotFoundException
protected Object evaluateScript(String scriptName, Integer scriptVersion, ItemPath itemPath, Object locker) throws ScriptingEngineException
scriptName - scriptVersion - itemPath - locker - ScriptingEngineExceptionpublic Workflow getWf()
protected GraphableVertex findPair(String pairingID)
pairingID - the value of the PairingID propertyprotected Boolean isMyPair(WfVertex otherVertex)
otherVertex - the other vertex to check for pairingCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.