Interface NESTAbstractWorkflowObject
- All Superinterfaces:
DataObject
,Iterable<NESTSequenceNodeObject>
,NESTGraphObject
,PropertyHandler
- All Known Subinterfaces:
NESTSequentialWorkflowObject
,NESTWorkflowObject
- All Known Implementing Classes:
NESTAbstractWorkflowObjectImpl
,NESTSequentialWorkflowObjectImpl
,NESTWorkflowObjectImpl
public interface NESTAbstractWorkflowObject
extends NESTGraphObject, Iterable<NESTSequenceNodeObject>
-
Method Summary
Modifier and TypeMethodDescriptionReturns all controlflow edges in the graph.Returns the complete list of controlflowedges contained in the graphReturns the complete set of data nodes registered in the graph.getDataNodes
(Predicate<? super NESTDataNodeObject> filter) Returns the complete set of data nodes registered in the graph.Returns the list of endNodes (nodes with no outgoing NESTControlflowEdge) for this graph.Returns all the task nodes that are not connected via controlflow-edge to successor tasks (end task nodes)getEndTaskNodes
(Predicate<? super NESTTaskNodeObject> filter) Returns all the task nodes that are not connected via controlflow-edge to successor tasks (end task nodes)<T extends NESTNodeObject>
TgetEqualSyntacticGraphNode
(T node) Returns a graph node that has the same type (e.g.Returns these data objects that are inputs of the entire workflow (no intermediate objects)getInputDataNodes
(Predicate<? super NESTDataNodeObject> filter) Returns these data objects that are inputs of the entire workflow (no intermediate objects)Returns the modifier.Returns these data objects that are outputs of the entire workflow (no intermediate objects)getOutputDataNodes
(Predicate<? super NESTDataNodeObject> filter) Returns these data objects that are outputs of the entire workflow (no intermediate objects)Returns the complete set of sequence nodes registered in the graph.Returns the list of startNodes (nodes with no incoming NESTControlflowEdge) for this graph.Returns all the task nodes that are not connected via controlflow-edge to predeccessor tasks (start task nodes)getStartTaskNodes
(Predicate<? super NESTTaskNodeObject> filter) Returns all the task nodes that are not connected via controlflow-edge to predeccessor tasks (start task nodes)Returns the complete list of subWorkflowNodes registered in the graph.Returns the complete set of task nodes registered in the graph.getTaskNodes
(Predicate<? super NESTTaskNodeObject> filter) Returns the complete set of task nodes registered in the graph.Returns the WorkflowNode, if there is anyboolean
Returns whether the graph contains subWorkflowNodes.Methods inherited from interface de.uni_trier.wi2.procake.data.object.DataObject
assertSameValueAsIn, copy, getDataClass, getId, getModel, hasClassName, hasSameValueAsIn, hasSystemClassName, isAggregate, isAtomic, isBoolean, isByteArray, isChronologic, isCollection, isDataflowWrapper, isDataReference, isDate, isDouble, isInteger, isInterval, isKindOf, isList, isMemberOf, isNESTConstraintEdge, isNESTControlflowEdge, isNESTControlflowNode, isNESTDataflowEdge, isNESTDataNode, isNESTEdge, isNESTGraph, isNESTNode, isNESTPartOfEdge, isNESTSequenceNode, isNESTSequentialWorkflow, isNESTSubWorkflowNode, isNESTTaskNode, isNESTWorkflow, isNESTWorkflowNode, isNode, isNumeric, isSequence, isSet, isString, isSubWorkflow, isTask, isTime, isTimestamp, isUnion, isURI, isVoid, isWorkflow, removeId, setDataClass, setId, toDetailedString, toXML
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface de.uni_trier.wi2.procake.data.object.nest.NESTGraphObject
addGraphNode, containsValueFrom, containsValueFromWithExceptions, getEqualIdGraphNode, getGraphEdge, getGraphEdges, getGraphNode, getGraphNodes, getGraphNodes, getIDManager, getNumberOfEdges, getNumberOfNodes, getSemanticallyEqualNode, getSemanticallyEqualNode, getVisualizer, getVisualizer, removeGraphNode, updateGraphNodeId
Methods inherited from interface de.uni_trier.wi2.procake.data.PropertyHandler
addProperty, addProperty, getAllProperties, getAllPropertyNodes, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasProperties, removeProperty, setPropertyRootNode
-
Method Details
-
getModifier
NESTAbstractWorkflowModifier getModifier()Returns the modifier.- Specified by:
getModifier
in interfaceNESTGraphObject
- Returns:
-
getWorkflowNode
NESTWorkflowNodeObject getWorkflowNode()Returns the WorkflowNode, if there is any- Returns:
-
getTaskNodes
Returns the complete set of task nodes registered in the graph.- Parameters:
filter
- filter to apply- Returns:
- Set of task nodes in the graph.
-
getTaskNodes
Set<NESTTaskNodeObject> getTaskNodes()Returns the complete set of task nodes registered in the graph.- Returns:
- Set of task nodes in the graph.
-
getDataNodes
Set<NESTDataNodeObject> getDataNodes()Returns the complete set of data nodes registered in the graph.- Returns:
- Set of data nodes in the graph.
-
getDataNodes
Returns the complete set of data nodes registered in the graph.- Parameters:
filter
- filter to apply- Returns:
- Set of data nodes in the graph.
-
getStartNodes
Set<NESTSequenceNodeObject> getStartNodes()Returns the list of startNodes (nodes with no incoming NESTControlflowEdge) for this graph.- Returns:
-
getEndNodes
Set<NESTSequenceNodeObject> getEndNodes()Returns the list of endNodes (nodes with no outgoing NESTControlflowEdge) for this graph.- Returns:
-
getSequenceNodes
Set<NESTSequenceNodeObject> getSequenceNodes()Returns the complete set of sequence nodes registered in the graph.- Returns:
- Set of sequence nodes in the graph.
-
getOutputDataNodes
Set<NESTDataNodeObject> getOutputDataNodes()Returns these data objects that are outputs of the entire workflow (no intermediate objects)- Returns:
- list of data node objects
-
getOutputDataNodes
Returns these data objects that are outputs of the entire workflow (no intermediate objects)- Parameters:
filter
- filter to apply- Returns:
- list of data node objects
-
getInputDataNodes
Set<NESTDataNodeObject> getInputDataNodes()Returns these data objects that are inputs of the entire workflow (no intermediate objects)- Returns:
- list of data node objects
-
getInputDataNodes
Returns these data objects that are inputs of the entire workflow (no intermediate objects)- Parameters:
filter
- filter to apply- Returns:
- list of data node objects
-
getStartTaskNodes
Set<NESTTaskNodeObject> getStartTaskNodes()Returns all the task nodes that are not connected via controlflow-edge to predeccessor tasks (start task nodes)- Returns:
- list of task nodes
-
getStartTaskNodes
Returns all the task nodes that are not connected via controlflow-edge to predeccessor tasks (start task nodes)- Parameters:
filter
- filter to apply- Returns:
- list of task nodes
-
getEndTaskNodes
Set<NESTTaskNodeObject> getEndTaskNodes()Returns all the task nodes that are not connected via controlflow-edge to successor tasks (end task nodes)- Returns:
- list of task nodes
-
getEndTaskNodes
Returns all the task nodes that are not connected via controlflow-edge to successor tasks (end task nodes)- Parameters:
filter
- filter to apply- Returns:
- list of task nodes
-
getDataflowEdges
Set<NESTDataflowEdgeObject> getDataflowEdges()Returns the complete list of controlflowedges contained in the graph- Returns:
- List of graphedges in the graph.
-
getControlflowEdges
Set<NESTControlflowEdgeObject> getControlflowEdges()Returns all controlflow edges in the graph.- Returns:
- a set of controlflow edges
-
hasSubWorkflowNodes
boolean hasSubWorkflowNodes()Returns whether the graph contains subWorkflowNodes.- Returns:
-
getSubWorkflowNodes
Set<NESTSubWorkflowNodeObject> getSubWorkflowNodes()Returns the complete list of subWorkflowNodes registered in the graph.- Returns:
- List of subWorkflowNodes in the graph.
-
getEqualSyntacticGraphNode
Returns a graph node that has the same type (e.g. Data-Node, Task-Node etc.) and an equal semantic descriptor. When iterating through all nodes in the graph the first occurence of a matching node will be returned.- Parameters:
node
- the node that is compared to the other nodes of the graph- Returns:
- graph node with the same type and an equal semantic descriptor. If it doesn't exist
null
-