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 voidDataManager. 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).voidDataManager. 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 ExecutableInstanceInstanceManager. createInstanceOf(SessionToken session, UUID templateID, String instanceName, QualifiedAgent supervisorAgent, long creationTime)Creates a new instance for execution.ExecutableInstanceInstanceManager. createSubInstanceOf(SessionToken session, UUID templateID, String instanceName, QualifiedAgent supervisorAgent, EBPInstanceReference superInstanceActivity, long creationTime)Creates a new instance as subprocess for execution.ExecutableInstanceInstanceManager. 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.ExecutableInstanceInstanceManager. 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 voidInstanceManager. 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 ExecutableInstanceExecutionFactory. createExecutableInstance(Instance instance)Creates a newExecutableInstancefrom the given instance.ExecutableInstanceExecutionFactory. 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.ExecutableInstanceExecutionFactory. 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.ExecutableInstanceExecutionFactory. 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.ExecutableInstanceExecutionFactory. 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 ExecutableInstanceExecutionFactory. 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 ExecutableInstanceProcessModelXMLImport. getExecutableInstanceFromDocument(ExecutionFactory executionFactory, Document document, Template template)Creates an instance using the given DOM document.ExecutableInstanceProcessModelXMLImport. getExecutableInstanceFromFile(ExecutionFactory executionFactory, File file)Reads a process instance from the given file and determines the file type.ExecutableInstanceProcessModelXMLImport. getExecutableInstanceFromFile(ExecutionFactory executionFactory, File file, Template template)Reads a process instance from the given file and determines the file type.ExecutableInstanceProcessModelXMLImport. 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 DocumentProcessModelXMLExport. getDocumentForExecutableInstanceAndStatus(ExecutableInstance instance, InstanceStatus instanceStatus, boolean storeStructure)Writes the given instance including its status to the given file.voidProcessModelXMLExport. writeExecutableInstanceAndStatusToFile(ExecutableInstance instance, InstanceStatus instanceStatus, File file)Writes the given instance including its status to the given file.voidProcessModelXMLExport. writeExecutableInstanceAndStatusToFile(ExecutableInstance instance, InstanceStatus instanceStatus, File file, boolean intend)Writes the given instance including its status to the given file.voidProcessModelXMLExport. writeExecutableInstanceAndStatusToFile(ExecutableInstance instance, InstanceStatus instanceStatus, File file, Template structure)Writes the given instance including its status to the given file.voidProcessModelXMLExport. writeExecutableInstanceAndStatusToFile(ExecutableInstance instance, InstanceStatus instanceStatus, File file, Template structure, boolean intend)Writes the given instance including its status to the given file.
-