Class NESTWorkflowBuilderImpl<T extends NESTAbstractWorkflowObject>
java.lang.Object
de.uni_trier.wi2.procake.data.object.nest.utils.impl.NESTWorkflowBuilderImpl<T>
- All Implemented Interfaces:
NESTWorkflowBuilder<T>
public class NESTWorkflowBuilderImpl<T extends NESTAbstractWorkflowObject>
extends Object
implements NESTWorkflowBuilder<T>
Definition of a NEST workflow builder. Refer to the corresponding Interface
NESTWorkflowBuilder
for more information.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateEmptyNESTWorkflowObject
(String NESTWorkflowID, String workflowClass) Creates an empty new nest graph object without workflow node.createNESTWorkflowGraphObject
(String NESTWorkflowId, String workflowClass, DataObject semanticDescriptor) Creates a new nest graph object including the workflow node.createNESTWorkflowObject
(String xmlString) Creates a new nest graph object from a given String.
-
Constructor Details
-
NESTWorkflowBuilderImpl
-
NESTWorkflowBuilderImpl
public NESTWorkflowBuilderImpl()
-
-
Method Details
-
createNESTWorkflowGraphObject
public T createNESTWorkflowGraphObject(String NESTWorkflowId, String workflowClass, DataObject semanticDescriptor) Description copied from interface:NESTWorkflowBuilder
Creates a new nest graph object including the workflow node.- Specified by:
createNESTWorkflowGraphObject
in interfaceNESTWorkflowBuilder<T extends NESTAbstractWorkflowObject>
- Parameters:
NESTWorkflowId
- for the nest graph object and the corresponding workflow nodeworkflowClass
- data class of the nest workflowsemanticDescriptor
- semantic descriptor of the workflow node- Returns:
- the created nest workflow object
-
createEmptyNESTWorkflowObject
Description copied from interface:NESTWorkflowBuilder
Creates an empty new nest graph object without workflow node.- Specified by:
createEmptyNESTWorkflowObject
in interfaceNESTWorkflowBuilder<T extends NESTAbstractWorkflowObject>
- Parameters:
NESTWorkflowID
- for the nest graph objectworkflowClass
- data class of the nest workflow- Returns:
- the created nest workflow object
-
createNESTWorkflowObject
Description copied from interface:NESTWorkflowBuilder
Creates a new nest graph object from a given String.- Specified by:
createNESTWorkflowObject
in interfaceNESTWorkflowBuilder<T extends NESTAbstractWorkflowObject>
- Parameters:
xmlString
- XML representation of the nest graph- Returns:
- the created nest workflow object
-