Class Split
java.lang.Object
org.cristalise.kernel.graph.model.Vertex
org.cristalise.kernel.graph.model.GraphableVertex
org.cristalise.kernel.lifecycle.instance.WfVertex
org.cristalise.kernel.lifecycle.instance.Split
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cristalise.kernel.lifecycle.instance.WfVertex
WfVertex.Types -
Field Summary
FieldsFields inherited from class org.cristalise.kernel.graph.model.GraphableVertex
mIsComposite -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]calculateNexts(TransactionKey transactionKey) Method getErrors.protected booleanCheck if the one of value in the input list matches value(s) defined in the Alias property of output edges.booleanloop()String[]voidreinit(int idLoop) voidrun(TransactionKey transactionKey) voidrunFirst(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)booleanverify()Method verify.Methods inherited from class org.cristalise.kernel.lifecycle.instance.WfVertex
abort, evaluateProperty, evaluatePropertyValue, evaluateScript, findLastVertex, findPair, getActContext, getWf, runNextMethods inherited from class org.cristalise.kernel.graph.model.GraphableVertex
addChild, deriveVersionNumber, getBuiltInProperty, getBuiltInProperty, getCentrePoint, getChildren, getChildrenEdges, getChildrenGraphModel, getCreationContext, getInEdgeIds, getInEdges, getInGraphables, getIsComposite, getIsLayoutable, getKeyValuePairs, getLayoutableChildren, getOtherPairingID, getOutEdgeIds, getOutEdges, getOutGraphables, getOutlinePoints, getPairingId, getParent, getPath, getProperties, isMyPair, search, setBuiltInProperty, setChildrenGraphModel, setIsComposite, setIsLayoutable, setKeyValuePairs, setParent, setProperties, updatePropertiesFromCollection, updatePropertiesFromCollectionMethods inherited from class org.cristalise.kernel.graph.model.Vertex
addInEdgeId, addOutEdgeId, clearTag, containsPoint, hasTag, isJoin, isLoop, moveAbsolute, removeInEdgeId, removeOutEdgeId, setInEdgeIds, setOutEdgeIds, setOutlinePoints, setTag
-
Field Details
-
mErrors
-
-
Constructor Details
-
Split
public Split()
-
-
Method Details
-
addNext
-
reinit
- Specified by:
reinitin classWfVertex- Throws:
InvalidDataException
-
verify
public boolean verify()Description copied from class:WfVertexMethod verify. -
getErrors
Description copied from class:WfVertexMethod getErrors. -
run
- Specified by:
runin classWfVertex- Throws:
InvalidDataException
-
loop
public boolean loop() -
calculateNexts
- Throws:
InvalidDataException
-
nextNames
-
isInTable
Check if the one of value in the input list matches value(s) defined in the Alias property of output edges. Values are trimmed before validity check and before comparison . The value(s) in the alias may contain- '|' to define list of accepted values (or match) - '!' to define value for negative match - '*' to define value for wildcard matches based startWith(), endsWith(), contains() methods of String
- Parameters:
alias- Value of the Alias property of an output edge, which could be '|' separated list containing ! and * characterslist- values returned by the routing script/expression- Returns:
- return false if alias is blank otherwise it true/false depending on the rules described above
- Throws:
InvalidDataException- value in th input list is blank or or alias value contains both '!' and '*'
-
runFirst
Description copied from class:WfVertexSets the activity available to be executed on start of Workflow or composite activity (when it is the first one of the (sub)process)- Specified by:
runFirstin classWfVertex- Throws:
InvalidDataException
-