Uses of Interface
de.aristaflow.adept2.model.execution.ExecutableInstance
-
-
Uses of ExecutableInstance in de.aristaflow.adept2.core.datamanager
Methods in de.aristaflow.adept2.core.datamanager with parameters of type ExecutableInstance Modifier and Type Method 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). -
Uses of ExecutableInstance in de.aristaflow.adept2.core.processmanager
Methods in de.aristaflow.adept2.core.processmanager that return ExecutableInstance Modifier and Type Method Description ExecutableInstance
InstanceManager. createInstanceOf(SessionToken session, UUID templateID, String instanceName, QualifiedAgent supervisorAgent, long creationTime)
Creates a new instance for execution.ExecutableInstance
InstanceManager. createSubInstanceOf(SessionToken session, UUID templateID, String instanceName, QualifiedAgent supervisorAgent, EBPInstanceReference superInstanceActivity, long creationTime)
Creates a new instance as subprocess for execution.ExecutableInstance
InstanceManager. getAndLockInstanceForExecution(SessionToken session, 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, UUID instanceId)
Gets the executable instance again whileholding the lock
.Methods in de.aristaflow.adept2.core.processmanager with parameters of type ExecutableInstance Modifier and Type Method Description void
InstanceManager. setExecutableInstance(SessionToken session, ExecutableInstance executableInstance)
Saves the made changes for the designated instance but does not unlock the instance. -
Uses of ExecutableInstance in de.aristaflow.adept2.model.execution
Methods in de.aristaflow.adept2.model.execution that return ExecutableInstance Modifier and Type Method Description ExecutableInstance
ExecutionFactory. createExecutableInstance(Instance instance)
Creates a newExecutableInstance
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(UUID instanceID, UUID logID, String instanceName, 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(UUID instanceId, UUID logId, String instanceName, boolean modified, UUID baseTemplateId, Template template, QualifiedAgent supervisorAgent, QualifiedAgent initiatorAgent, EBPInstanceReference parentReference, long creationTime, Map<Integer,ProcessConstants.NodeState> nodeStates, Map<Integer,ProcessConstants.ExecutionMode> executionModes, Map<Integer,Integer> nodeIterations, Map<Integer,Map<Integer,List<UUID>>> nodeLwpInstanceIds, Map<Integer,QualifiedAgent> nodePerformingAgents, Map<Integer,List<Enquiry>> currentEnquiries, Map<Integer,Enquiry> repliedEnquiries, URI[] instanceTerminationCallbackUris, Map<Integer,URI[]> runtimeManagerUris, Map<String,Set<String>> supportedPlugins, Map<String,PluginData> pluginData, Map<String,String> userAttributes)
Creates an ExecutableInstance object.ExecutableInstance
ExecutionFactory. createExecutableInstanceLwpIts(UUID instanceId, UUID logId, String instanceName, boolean modified, UUID baseTemplateId, Template template, QualifiedAgent supervisorAgent, QualifiedAgent initiatorAgent, EBPInstanceReference parentReference, long creationTime, Map<Integer,ProcessConstants.NodeState> nodeStates, Map<Integer,ProcessConstants.ExecutionMode> executionModes, Map<Integer,Integer> nodeIterations, Map<Integer,Map<Integer,List<UUID>>> nodeLwpInstanceIds, Map<Integer,QualifiedAgent> nodePerformingAgents, Map<String,Set<String>> supportedPlugins, Map<String,PluginData> pluginData, Map<String,String> userAttributes)
Creates an ExecutableInstance object.Methods in de.aristaflow.adept2.model.execution with parameters of type ExecutableInstance Modifier and Type Method 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. -
Uses of ExecutableInstance in de.aristaflow.adept2.model.processmodel.xml
Methods in de.aristaflow.adept2.model.processmodel.xml that return ExecutableInstance Modifier and Type Method Description ExecutableInstance
ProcessModelXMLImport. getExecutableInstanceFromDocument(ExecutionFactory executionFactory, Document document, Template template)
Creates an instance using the given DOM document.ExecutableInstance
ProcessModelXMLImport. getExecutableInstanceFromFile(ExecutionFactory executionFactory, File file)
Reads a process instance from the given file and determines the file type.ExecutableInstance
ProcessModelXMLImport. getExecutableInstanceFromFile(ExecutionFactory executionFactory, File file, Template template)
Reads a process instance from the given file and determines the file type.ExecutableInstance
ProcessModelXMLImport. getExecutableInstanceFromStream(ExecutionFactory executionFactory, InputStream stream, Template template)
Reads a process instance from the designated input stream.Methods in de.aristaflow.adept2.model.processmodel.xml with parameters of type ExecutableInstance Modifier and Type Method Description 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, File file)
Writes the given instance including its status to the given file.void
ProcessModelXMLExport. writeExecutableInstanceAndStatusToFile(ExecutableInstance instance, InstanceStatus instanceStatus, File file, boolean intend)
Writes the given instance including its status to the given file.void
ProcessModelXMLExport. writeExecutableInstanceAndStatusToFile(ExecutableInstance instance, InstanceStatus instanceStatus, File file, Template structure)
Writes the given instance including its status to the given file.void
ProcessModelXMLExport. writeExecutableInstanceAndStatusToFile(ExecutableInstance instance, InstanceStatus instanceStatus, File file, Template structure, boolean intend)
Writes the given instance including its status to the given file.
-