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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<NESTControlflowEdgeObject>getControlflowEdges()Returns all controlflow edges in the graph.Set<NESTDataflowEdgeObject>getDataflowEdges()Returns the complete list of controlflowedges contained in the graphSet<NESTDataNodeObject>getDataNodes()Returns the complete set of data nodes registered in the graph.Set<NESTDataNodeObject>getDataNodes(Predicate<? super NESTDataNodeObject> filter)Returns the complete set of data nodes registered in the graph.Set<NESTSequenceNodeObject>getEndNodes()Returns the list of endNodes (nodes with no outgoing NESTControlflowEdge) for this graph.Set<NESTTaskNodeObject>getEndTaskNodes()Returns all the task nodes that are not connected via controlflow-edge to successor tasks (end task nodes)Set<NESTTaskNodeObject>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.Set<NESTDataNodeObject>getInputDataNodes()Returns these data objects that are inputs of the entire workflow (no intermediate objects)Set<NESTDataNodeObject>getInputDataNodes(Predicate<? super NESTDataNodeObject> filter)Returns these data objects that are inputs of the entire workflow (no intermediate objects)NESTAbstractWorkflowModifiergetModifier()Returns the modifier.Set<NESTDataNodeObject>getOutputDataNodes()Returns these data objects that are outputs of the entire workflow (no intermediate objects)Set<NESTDataNodeObject>getOutputDataNodes(Predicate<? super NESTDataNodeObject> filter)Returns these data objects that are outputs of the entire workflow (no intermediate objects)Set<NESTSequenceNodeObject>getSequenceNodes()Returns the complete set of sequence nodes registered in the graph.Set<NESTSequenceNodeObject>getStartNodes()Returns the list of startNodes (nodes with no incoming NESTControlflowEdge) for this graph.Set<NESTTaskNodeObject>getStartTaskNodes()Returns all the task nodes that are not connected via controlflow-edge to predeccessor tasks (start task nodes)Set<NESTTaskNodeObject>getStartTaskNodes(Predicate<? super NESTTaskNodeObject> filter)Returns all the task nodes that are not connected via controlflow-edge to predeccessor tasks (start task nodes)Set<NESTSubWorkflowNodeObject>getSubWorkflowNodes()Returns the complete list of subWorkflowNodes registered in the graph.Set<NESTTaskNodeObject>getTaskNodes()Returns the complete set of task nodes registered in the graph.Set<NESTTaskNodeObject>getTaskNodes(Predicate<? super NESTTaskNodeObject> filter)Returns the complete set of task nodes registered in the graph.NESTWorkflowNodeObjectgetWorkflowNode()Returns the WorkflowNode, if there is anybooleanhasSubWorkflowNodes()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
-
-
-
-
Method Detail
-
getModifier
NESTAbstractWorkflowModifier getModifier()
Returns the modifier.- Specified by:
getModifierin interfaceNESTGraphObject- Returns:
-
getWorkflowNode
NESTWorkflowNodeObject getWorkflowNode()
Returns the WorkflowNode, if there is any- Returns:
-
getTaskNodes
Set<NESTTaskNodeObject> getTaskNodes(Predicate<? super NESTTaskNodeObject> filter)
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
Set<NESTDataNodeObject> getDataNodes(Predicate<? super NESTDataNodeObject> filter)
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
Set<NESTDataNodeObject> getOutputDataNodes(Predicate<? super NESTDataNodeObject> filter)
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
Set<NESTDataNodeObject> getInputDataNodes(Predicate<? super NESTDataNodeObject> filter)
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
Set<NESTTaskNodeObject> getStartTaskNodes(Predicate<? super NESTTaskNodeObject> filter)
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
Set<NESTTaskNodeObject> getEndTaskNodes(Predicate<? super NESTTaskNodeObject> filter)
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
<T extends NESTNodeObject> T getEqualSyntacticGraphNode(T node)
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
-
-