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,
TransactionKey transactionKey) |
Object |
evaluatePropertyValue(ItemPath itemPath,
Object propValue,
TransactionKey transactionKey) |
protected Object |
evaluateScript(String scriptName,
Integer scriptVersion,
ItemPath itemPath,
TransactionKey transactionKey) |
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,
TransactionKey transactionKey) |
abstract void |
runFirst(AgentPath agent,
ItemPath itemPath,
TransactionKey transactionKey)
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,
TransactionKey transactionKey) |
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, TransactionKey transactionKey) throws InvalidDataException
InvalidDataExceptionpublic abstract void runNext(AgentPath agent, ItemPath itemPath, TransactionKey transactionKey) 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, TransactionKey transactionKey) throws InvalidDataException
InvalidDataExceptionpublic abstract boolean loop()
public String getActContext()
public Object evaluateProperty(ItemPath itemPath, String propName, TransactionKey transactionKey) throws InvalidDataException, PersistencyException, ObjectNotFoundException
public Object evaluatePropertyValue(ItemPath itemPath, Object propValue, TransactionKey transactionKey) throws InvalidDataException, PersistencyException, ObjectNotFoundException
protected Object evaluateScript(String scriptName, Integer scriptVersion, ItemPath itemPath, TransactionKey transactionKey) throws ScriptingEngineException
scriptName - scriptVersion - itemPath - transactionKey - 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–2022 CRISTAL-iSE. All rights reserved.