Uses of Interface
de.aristaflow.adept2.model.execution.ExecutableInstance
Packages that use ExecutableInstance
Package
Description
-
Uses of ExecutableInstance in de.aristaflow.adept2.core.datamanager
Methods in de.aristaflow.adept2.core.datamanager with parameters of type ExecutableInstanceModifier and TypeMethodDescriptionvoidDataManager.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 ExecutableInstanceModifier and TypeMethodDescriptionInstanceManager.createInstanceOf(SessionToken session, UUID templateID, String instanceName, QualifiedAgent supervisorAgent, long creationTime) Creates a new instance for execution.InstanceManager.createSubInstanceOf(SessionToken session, UUID templateID, String instanceName, QualifiedAgent supervisorAgent, EBPInstanceReference superInstanceActivity, long creationTime) Creates a new instance as subprocess for execution.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.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 ExecutableInstanceModifier and TypeMethodDescriptionvoidInstanceManager.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 ExecutableInstanceModifier and TypeMethodDescriptionExecutionFactory.createExecutableInstance(Instance instance) Creates a newExecutableInstancefrom the given instance.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.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.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.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 ExecutableInstanceModifier and TypeMethodDescriptionExecutionFactory.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 ExecutableInstanceModifier and TypeMethodDescriptionProcessModelXMLImport.getExecutableInstanceFromDocument(ExecutionFactory executionFactory, Document document, Template template) Creates an instance using the given DOM document.ProcessModelXMLImport.getExecutableInstanceFromFile(ExecutionFactory executionFactory, File file) Reads a process instance from the given file and determines the file type.ProcessModelXMLImport.getExecutableInstanceFromFile(ExecutionFactory executionFactory, File file, Template template) Reads a process instance from the given file and determines the file type.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 ExecutableInstanceModifier and TypeMethodDescriptionProcessModelXMLExport.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.