Interface NESTSequentialWorkflowObject
-
- All Superinterfaces:
DataObject,Iterable<NESTSequenceNodeObject>,NESTAbstractWorkflowObject,NESTGraphObject,PropertyHandler
- All Known Implementing Classes:
NESTSequentialWorkflowObjectImpl
public interface NESTSequentialWorkflowObject extends NESTAbstractWorkflowObject
Represents a de facto workflow instance. A de facto instance only consists of n task and m data nodes and builds a sequence of tasks linked by the edges. De facto instances are a special subset of workflows constrained to the result of a workflow engine that simply records the tasks happening over time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NESTTaskNodeObject[]getNESTTaskNodesInOrder()Finds the ordered task nodes of this resource and returns them as a 1D array.StringgetTasksAsString()Returns the tasks in the string representation.voidprintTasks()Prints the tasks.voidtransformListObjectToNESTSequentialWorkflow(ListObject listObject)Creates a new de facto resource from the given graphObject only if it indeed is a de facto workflow.voidtransformNESTGraphToNESTSequentialWorkflow(NESTGraphObject graphObject)Creates a new de facto resource from the given graphObject only if it indeed is a de facto workflow.-
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.NESTAbstractWorkflowObject
getControlflowEdges, getDataflowEdges, getDataNodes, getDataNodes, getEndNodes, getEndTaskNodes, getEndTaskNodes, getEqualSyntacticGraphNode, getInputDataNodes, getInputDataNodes, getModifier, getOutputDataNodes, getOutputDataNodes, getSequenceNodes, getStartNodes, getStartTaskNodes, getStartTaskNodes, getSubWorkflowNodes, getTaskNodes, getTaskNodes, getWorkflowNode, hasSubWorkflowNodes
-
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
-
getNESTTaskNodesInOrder
NESTTaskNodeObject[] getNESTTaskNodesInOrder()
Finds the ordered task nodes of this resource and returns them as a 1D array.- Returns:
- Array containing all the task nodes in order.
-
printTasks
void printTasks()
Prints the tasks.
-
getTasksAsString
String getTasksAsString()
Returns the tasks in the string representation.- Returns:
- The task in the string representation.
-
transformNESTGraphToNESTSequentialWorkflow
void transformNESTGraphToNESTSequentialWorkflow(NESTGraphObject graphObject)
Creates a new de facto resource from the given graphObject only if it indeed is a de facto workflow.- Parameters:
graphObject- The graph object potentially representing a de facto workflow.
-
transformListObjectToNESTSequentialWorkflow
void transformListObjectToNESTSequentialWorkflow(ListObject listObject)
Creates a new de facto resource from the given graphObject only if it indeed is a de facto workflow.- Parameters:
listObject- The list object potentially representing a de facto workflow.
-
-