| Package | Description |
|---|---|
| de.aristaflow.adept2.core.datamanager | |
| de.aristaflow.adept2.core.processmanager | |
| de.aristaflow.adept2.model.execution | |
| de.aristaflow.adept2.model.processmodel.xml |
The xml packages provides a generic import and export functionality for all components implementing the common ADEPT2 processmodel interfaces and just requires an implementation of the ProcessModelFactory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DataManager.instanceStarted(SessionToken session,
ExecutableInstance instance,
DataContainer dataContainer)
Tells the data manager that an instance has been started with the
designated data container (input and output parameters of the instance).
|
void |
DataManager.instanceTerminated(SessionToken session,
ExecutableInstance instance,
DataContainer dataContainer)
Tells the data manager that an instance has been terminated with the
designated data container (input and output parameters of the instance).
|
| Modifier and Type | Method and Description |
|---|---|
ExecutableInstance |
InstanceManager.createInstanceOf(SessionToken session,
java.util.UUID templateID,
java.lang.String instanceName,
QualifiedAgent supervisorAgent,
long creationTime)
Creates a new instance for execution.
|
ExecutableInstance |
InstanceManager.createSubInstanceOf(SessionToken session,
java.util.UUID templateID,
java.lang.String instanceName,
QualifiedAgent supervisorAgent,
EBPInstanceReference superInstanceActivity,
long creationTime)
Creates a new instance as subprocess for execution.
|
ExecutableInstance |
InstanceManager.getAndLockInstanceForExecution(SessionToken session,
java.util.UUID instanceId)
Gets an object allowing to execute the designated instance, which is,
setting the states and the performer of the nodes.
|
ExecutableInstance |
InstanceManager.regetInstanceForExecution(SessionToken session,
java.util.UUID instanceId)
Gets the executable instance again while
holding the
lock. |
| Modifier and Type | Method and Description |
|---|---|
void |
InstanceManager.setExecutableInstance(SessionToken session,
ExecutableInstance executableInstance)
Saves the made changes for the designated instance but does not unlock the
instance.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutableInstance |
ExecutionFactory.createExecutableInstance(Instance instance)
Creates a new
ExecutableInstance from the given instance. |
ExecutableInstance |
ExecutionFactory.createExecutableInstance(Instance instance,
ExecutableInstance executableInstance)
Creates a new ExecutableInstance from the given instance having the
designated template and the additional attributes; additional with respect
to the difference between a ChangeableInstance and an ExecutableInstance.
|
ExecutableInstance |
ExecutionFactory.createExecutableInstance(java.util.UUID instanceID,
java.util.UUID logID,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateID,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>> nodeLWPInstanceIDs,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.Integer,java.util.List<Enquiry>> currentEnquiries,
java.util.Map<java.lang.Integer,Enquiry> repliedEnquiries,
java.net.URI[] instanceTerminationCallbackURIs,
java.util.Map<java.lang.Integer,java.net.URI[]> runtimeManagerURIs,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
|
ExecutableInstance |
ExecutionFactory.createExecutableInstance(java.util.UUID instanceID,
java.util.UUID logID,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateID,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>> nodeLWPInstanceIDs,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
|
ExecutableInstance |
ExecutionFactory.createExecutableInstance(java.util.UUID instanceID,
java.util.UUID logID,
java.lang.String instanceName,
java.util.UUID baseTemplateID,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime)
Creates a new executable instance without the need to specify all the
details.
|
ExecutableInstance |
ExecutionFactory.createExecutableInstanceLwpIts(java.util.UUID instanceId,
java.util.UUID logId,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateId,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>>> nodeLwpInstanceIds,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.Integer,java.util.List<Enquiry>> currentEnquiries,
java.util.Map<java.lang.Integer,Enquiry> repliedEnquiries,
java.net.URI[] instanceTerminationCallbackUris,
java.util.Map<java.lang.Integer,java.net.URI[]> runtimeManagerUris,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Creates an ExecutableInstance object.
|
ExecutableInstance |
ExecutionFactory.createExecutableInstanceLwpIts(java.util.UUID instanceId,
java.util.UUID logId,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateId,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>>> nodeLwpInstanceIds,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Creates an ExecutableInstance object.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutableInstance |
ExecutionFactory.createExecutableInstance(Instance instance,
ExecutableInstance executableInstance)
Creates a new ExecutableInstance from the given instance having the
designated template and the additional attributes; additional with respect
to the difference between a ChangeableInstance and an ExecutableInstance.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutableInstance |
ProcessModelXMLImport.getExecutableInstanceFromDocument(ExecutionFactory executionFactory,
org.w3c.dom.Document document,
Template template)
Creates an instance using the given DOM document.
|
ExecutableInstance |
ProcessModelXMLImport.getExecutableInstanceFromFile(ExecutionFactory executionFactory,
java.io.File file)
Reads a process instance from the given file and determines the file type.
|
ExecutableInstance |
ProcessModelXMLImport.getExecutableInstanceFromFile(ExecutionFactory executionFactory,
java.io.File file,
Template template)
Reads a process instance from the given file and determines the file type.
|
ExecutableInstance |
ProcessModelXMLImport.getExecutableInstanceFromStream(ExecutionFactory executionFactory,
java.io.InputStream stream,
Template template)
Reads a process instance from the designated input stream.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
ProcessModelXMLExport.getDocumentForExecutableInstanceAndStatus(ExecutableInstance instance,
InstanceStatus instanceStatus,
boolean storeStructure)
Writes the given instance including its status to the given file.
|
void |
ProcessModelXMLExport.writeExecutableInstanceAndStatusToFile(ExecutableInstance instance,
InstanceStatus instanceStatus,
java.io.File file)
Writes the given instance including its status to the given file.
|
void |
ProcessModelXMLExport.writeExecutableInstanceAndStatusToFile(ExecutableInstance instance,
InstanceStatus instanceStatus,
java.io.File file,
boolean intend)
Writes the given instance including its status to the given file.
|
void |
ProcessModelXMLExport.writeExecutableInstanceAndStatusToFile(ExecutableInstance instance,
InstanceStatus instanceStatus,
java.io.File file,
Template structure)
Writes the given instance including its status to the given file.
|
void |
ProcessModelXMLExport.writeExecutableInstanceAndStatusToFile(ExecutableInstance instance,
InstanceStatus instanceStatus,
java.io.File file,
Template structure,
boolean intend)
Writes the given instance including its status to the given file.
|