Uses of Interface
de.aristaflow.adept2.model.processmodel.Instance
-
-
Uses of Instance in de.aristaflow.adept2.core.changeoperations
Methods in de.aristaflow.adept2.core.changeoperations with parameters of type Instance Modifier and Type Method Description static voidChangeOperationTools. fireNodeStateChangedEvent(UpdateManager updateManager, Instance instance, Node node)Fires updates for changed node statesstatic booleanAddNodeSystemParameter. isPossible(Instance instance, int nodeID, ActivityConstants.AccessType type, ProcessModelParameter parameter)Check if it is possible (concerning structural correctness and state based correctness) to add the given system parameter to the given node.static booleanAddNodeSystemParameter. isPossible(Instance instance, int nodeID, ActivityConstants.AccessType type, ProcessModelParameter parameter, CheckReport checkReport)Check if it is possible (concerning structural correctness and state based correctness) to add the given system parameter to the given node.static booleanAddNodeSystemParameter. isPossible(Instance instance, int nodeId, Node node, ActivityConstants.AccessType type, ProcessModelParameter parameter, CheckReport checkReport)Check whether it is possible (concerning structural and state-based correctness) to add the designated system parameter to the designated node.protected static booleanAddSystemDataFlow. isPossible(Instance instance, int producerNodeID, SystemDataProducer systemDataType, int consumerNodeID, CheckReport checkReport)Check if it is possible (concerning structural correctness and state based correctness) to add a system data flow of the given type between the given nodes.static booleanAddSystemDataFlow. isPossible(Instance instance, int producerNodeID, SystemDataProducer systemDataType, int consumerNodeID, String inputParameterName)Check if it is possible (concerning structural correctness and state based correctness) to add a system data flow of the given type between the given nodes.static booleanAddSystemDataFlow. isPossible(Instance instance, int producerNodeID, SystemDataProducer systemDataType, int consumerNodeID, String inputParameterName, CheckReport checkReport)Check if it is possible (concerning structural correctness and state based correctness) to add a system data flow of the given type between the given nodes.static booleanAssignEmptyEmbeddedSubprocess. isPossible(Instance instance, int nodeID)Checks if the assignment of an empty embedded subprocess is valid (concerning structural and state-based correctness) for the given instance.static booleanAssignEmptyEmbeddedSubprocess. isPossible(Instance instance, int nodeID, CheckReport checkReport)Checks if the assignment of an empty embedded subprocess is valid (concerning structural and state-based correctness) for the given instance.static booleanCopyNode. isPossible(ChangeableInstance sourceInstance, Instance targetInstance, int nodeToCopyID, int predID, int succID)Check if it is possible (concerning structural and state based correctness) to copy the given node to the specified target position in the given instance.static booleanCopyNode. isPossible(ChangeableInstance sourceInstance, Instance targetInstance, int nodeToCopyID, int predID, int succID, CheckReport checkReport)Check if it is possible (concerning structural and state based correctness) to copy the given node to the specified target position in the given instance.static booleanInsertBetweenNodeSets. isPossible(Instance instance, List<Integer> preds, List<Integer> succs)Check if it is possible (concerning structural and state based correctness) to insert a node which is executed after the nodes given in preds and before the nodes given in succs in the given instance.static booleanInsertBetweenNodeSets. isPossible(Instance instance, List<Integer> preds, List<Integer> succs, CheckReport checkReport)Check if it is possible (concerning structural and state based correctness) to insert a node which is executed after the nodes given in preds and before the nodes given in succs in the given instance.static booleanInsertNode. isPossible(Instance instance, Node pred, Node succ)Check if it is possible (concerning structural and state based correctness) to insert a node between the two given nodes in the given instance.static booleanInsertNode. isPossible(Instance instance, Node pred, Node succ, CheckReport checkReport)Check if it is possible (concerning structural and state based correctness) to insert a node between the two given nodes in the given instance.static booleanRemoveNodeSystemParameter. isPossible(Instance instance, int nodeID, ActivityConstants.AccessType type, String parameterName)Check if it is possible (concerning structural correctness and state based correctness) to remove the given system parameter from the given node.static booleanRemoveNodeSystemParameter. isPossible(Instance instance, int nodeID, ActivityConstants.AccessType type, String parameterName, CheckReport checkReport)Check if it is possible (concerning structural correctness and state based correctness) to remove the given system parameter from the given node.static booleanRemoveNodeSystemParameter. isPossible(Instance inst, int nodeId, Node node, ActivityConstants.AccessType type, String paramName, CheckReport checkReport)Gets whether it is possible (concerning structural correctness and state-based correctness) to remove the designated system parameter from the designated node.static booleanRemoveSystemDataFlow. isPossible(Instance instance, int nodeID, String inputParameterName)Check if it is possible (concerning structural correctness and state based correctness) to remove the system data flow flow which is connected with the given parameter.static booleanRemoveSystemDataFlow. isPossible(Instance instance, int nodeID, String inputParameterName, CheckReport checkReport)Check if it is possible (concerning structural correctness and state based correctness) to remove the system data flow flow which is connected with the given parameter.static booleanUpdateInstance. isPossible(Instance instance, ProcessConstants.InstanceProperty... instanceProperties)TODO change instance to instance id if we have a process repository Checks if it is valid for the given instance to update the properties given byProperties.static booleanUpdateInstance. isPossible(Instance instance, CheckReport checkReport, ProcessConstants.InstanceProperty... instanceProperties)TODO change instance to instance id if we have a process repository Checks if it is valid for the given instance to update the properties given byProperties. -
Uses of Instance in de.aristaflow.adept2.core.checks.processmodel
Methods in de.aristaflow.adept2.core.checks.processmodel with parameters of type Instance Modifier and Type Method Description booleanProcessInstanceCheck. performCheck(Instance instance, NodeRelations relations, CheckReport checkReport) -
Uses of Instance in de.aristaflow.adept2.core.datamanager
Methods in de.aristaflow.adept2.core.datamanager with parameters of type Instance Modifier and Type Method Description voidProcessAwareAccess. dropWrittenValues(SessionToken session, Instance instance, int nodeId, int nodeIteration)Drops all values written by the designated instance that have not been validated yet, that is, the values are removed (or marked as removed) from the data manager for all savepoints.booleanProcessAwareAccess. dropWrittenValuesBackTo(SessionToken session, Instance instance, int nodeId, int nodeIteration, String savepoint)Drops all values written by the designated instance that have not been validated yet back to the designated savepoint, that is, the values are removed (or marked as removed) from the data manager for all savepoints after the designated one.StringProcessAwareAccess. flushDataContainer(SessionToken session, Instance instance, int writingNodeId, int writerIteration, DataContainer dataContainer, String savepoint)Flushes all values from the designated data container and persists them in this data manager (if the corresponding data container stems from this data manager) referring to it by the designated savepoint ID.voidProcessAwareAccess. flushSavepoint(SessionToken session, Instance instance, int writingNodeId, int writerIteration, DataContainer dataContainer, String savepoint)Flushes the designated safepoint only.DataContainerProcessAwareAccess. getDataContainer(SessionToken session, Instance instance, int nodeID)Gets the data container for the application specified by the designated activity.InputDataContainerProcessUnawareAccess. getInputDataContainer(SessionToken session, Instance instance, Set<Integer> dataElementIDs)Gets an input data container providing the most recent values of the designated data element IDs.InputDataContainerProcessAwareAccess. getNodeDataContainer(SessionToken session, Instance instance, int nodeID)Gets the data container for the designated node.DataContainerProcessAwareAccess. getObsoleteDataContainer(SessionToken session, ExecutionHistory execHist, Instance instance, int nodeID, int iteration)Gets the data container for a finished application specified by the designated node and iteration ID.ParameterDataContextProcessAwareAccess. getPublicDataContext(SessionToken session, Instance instance, int nodeID)Gets the data context providing all public data elements for the designated node.ParameterDataContextProcessUnawareAccess. getPublicDataContext(SessionToken session, Instance instance)Gets the data context providing the most recent values of the public data elements of the designated instance.voidDataManager. instanceChanged(SessionToken session, Instance instance)Notifies the data manager that the designated instance has been changed.voidDataManager. instanceChanged(SessionToken session, Instance instance, DataContainer changedDataContainer)Notifies the data manager that the designated instance and also its output parameters have changed.DataContainerDataManager. retrieveInstanceDataContainer(SessionToken session, Instance instance)Retrieves the instance data container for the designated instance.voidProcessAwareAccess. validateWrittenValues(SessionToken session, Instance instance, int nodeId, int nodeIteration, String savepoint)Validates and verifies all values written by the designated node instance for the designated savepoint, that is, the values are not temporary any more but valid for the following nodes and it is checked whether all mandatory output parameters have valid values. -
Uses of Instance in de.aristaflow.adept2.core.logmanager.logs
Methods in de.aristaflow.adept2.core.logmanager.logs with parameters of type Instance Modifier and Type Method Description voidExecutionHistoryWriteAccess. logInstanceChanged(SessionToken session, long timestamp, Instance instance)voidExecutionHistoryWriteAccess. logInstanceFailed(SessionToken session, long timestamp, Instance instance, long errorCode, String errorState, String errorMessage)voidExecutionHistoryWriteAccess. logInstanceFinished(SessionToken session, long timestamp, Instance instance)voidExecutionHistoryWriteAccess. logInstanceResumed(SessionToken session, long timestamp, Instance instance)voidExecutionHistoryWriteAccess. logInstanceStarted(SessionToken session, long timestamp, Instance instance)voidExecutionHistoryWriteAccess. logInstanceSuspended(SessionToken session, long timestamp, Instance instance)voidExecutionHistoryWriteAccess. logNodeActivated(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeDeselected(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeFailed(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration, long errorCode, String errorState, String errorMessage)voidExecutionHistoryWriteAccess. logNodeFinished(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, Map<String,String> nodeName, int iteration, URI[] executionManagerURIs)voidExecutionHistoryWriteAccess. logNodePromoted(SessionToken session, long timestamp, Instance instance, int nodeId, int iteration, ProcessConstants.NodeState promState)Logs that the activity identified by the designated instance, node and node iteration has been promoted.voidExecutionHistoryWriteAccess. logNodeResetHard(SessionToken session, long timestamp, Instance instance, int nodeId, int iteration, String savepoint)Logs that the activity identified by the designated instance, node and node iteration has been reset to the designated savepoint.voidExecutionHistoryWriteAccess. logNodeResetSoft(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeResetTo(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeId, int iteration, String savepoint)Logs that the activity identified by the designated instance, node and node iteration has been reset itself to the designated savepoint.voidExecutionHistoryWriteAccess. logNodeResumed(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeSelected(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeSkipped(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeStarted(SessionToken session, long timestamp, Instance instance, int nodeID, Map<String,String> nodeName, int iteration)voidExecutionHistoryWriteAccess. logNodeSuppressed(SessionToken session, long timestamp, Instance instance, int nodeId, int iteration, ProcessConstants.NodeState prevState)Logs that the activity identified by the designated instance, node and node iteration has been suppressed.voidExecutionHistoryWriteAccess. logNodeSuspended(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logSavepointFlushed(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeId, int iteration, String savepoint)Logs that the activity identified by the designated instance, node and node iteration has flushed its data with the designated savepoint ID. -
Uses of Instance in de.aristaflow.adept2.core.processimagerenderer
Methods in de.aristaflow.adept2.core.processimagerenderer with parameters of type Instance Modifier and Type Method Description ProcessImageDataProcessImageRenderer. renderInstance(SessionToken session, Instance instance, RenderOptions options)Gets the designated process instance as rendered image.ProcessImageDataSimpleProcessImageRenderer. renderInstance(Instance instance, RenderOptions options)Gets the designated process instance as rendered image. -
Uses of Instance in de.aristaflow.adept2.core.processmanager
Methods in de.aristaflow.adept2.core.processmanager that return Instance Modifier and Type Method Description InstanceInstanceManager. getInstance(SessionToken session, UUID instanceID)Gets the designated process instance conforming to the ADEPT2-process model. -
Uses of Instance in de.aristaflow.adept2.model.execution
Subinterfaces of Instance in de.aristaflow.adept2.model.execution Modifier and Type Interface Description interfaceExecutableInstanceThis interface provides additional methods necessary to execute a process instance, that is, setting the user who performs a node and manipulating node states and iteration counts.Methods in de.aristaflow.adept2.model.execution that return Instance Modifier and Type Method Description InstanceProcessNodeContext. getInstance()Gets the instance this context refers to if it can be provided by the using service or client.Methods in de.aristaflow.adept2.model.execution with parameters of type Instance 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.ProcessNodeContextExecutionFactory. createProcessNodeContext(Instance inst, int nodeId, Integer nodeIteration, ParameterDataContext pdc, Map<String,Set<String>> supportedPlugins, Map<String,PluginData> pluginData, Map<String,String> userAttributes)Creates aProcessNodeContextfor the designated node (with process instance). -
Uses of Instance in de.aristaflow.adept2.model.processmodel
Subinterfaces of Instance in de.aristaflow.adept2.model.processmodel Modifier and Type Interface Description interfaceChangeableInstanceAn instance which provides all necessary change primitives for modifications on instance level.Methods in de.aristaflow.adept2.model.processmodel that return Instance Modifier and Type Method Description InstanceProcessModelFactory. createInstanceLwpIts(UUID id, UUID logId, String name, boolean isModified, UUID baseTemplateId, Template template, QualifiedAgent supervisorAgent, QualifiedAgent initiatorAgent, EBPInstanceReference ebpInstanceReference, long creationTime, Map<Integer,ProcessConstants.NodeState> nodeStates, Map<Integer,Integer> nodeIterations, Map<Integer,ProcessConstants.ExecutionMode> nodeExecutionModes, Map<Integer,Map<Integer,List<UUID>>> nodeLwpInstanceIds, Map<Integer,QualifiedAgent> activityAgents, Map<String,Set<String>> supportedPlugins, Map<String,PluginData> pluginData, Map<String,String> userAttributes)Create an Instance.Methods in de.aristaflow.adept2.model.processmodel with parameters of type Instance Modifier and Type Method Description EBPInstanceReferenceProcessModelFactory. createEBPInstanceReference(int nodeID, Instance instance, URI[] executionManagerURIs)Create a new EBP instance reference object for the designated node of the designated instance being from the designated execution manager. -
Uses of Instance in de.aristaflow.adept2.model.processmodel.tools
Methods in de.aristaflow.adept2.model.processmodel.tools that return Instance Modifier and Type Method Description static InstanceProcessModelTools. cloneInstance(Instance instance, ProcessModelFactory factory)Clones a given instance using the given process model factory.Methods in de.aristaflow.adept2.model.processmodel.tools with parameters of type Instance Modifier and Type Method Description static InstanceProcessModelTools. cloneInstance(Instance instance, ProcessModelFactory factory)Clones a given instance using the given process model factory.static URIProcessElementIdentifierTools. getInstanceIdentifier(String symbolicNameOfAuthority, Instance instance)Constructs the process element identifier URI for the given instance. -
Uses of Instance in de.aristaflow.adept2.model.processmodel.xml
Fields in de.aristaflow.adept2.model.processmodel.xml declared as Instance Modifier and Type Field Description protected InstanceXPathSystemDataProvider. instanceThe instance from which to retrieve the system data.Methods in de.aristaflow.adept2.model.processmodel.xml that return Instance Modifier and Type Method Description InstanceProcessModelXMLImport. getInstanceFromDocument(Document document, Template template)Creates an instance using the given DOM document.InstanceProcessModelXMLImport. getInstanceFromFile(File file)Reads a process instance from the given file and determines the file type.InstanceProcessModelXMLImport. getInstanceFromFile(File file, Template template)Reads a process instance from the given file and determines the file type.InstanceProcessModelXMLImport. getInstanceFromStream(InputStream inputStream)Reads a process instance from an input stream.Methods in de.aristaflow.adept2.model.processmodel.xml with parameters of type Instance Modifier and Type Method Description DocumentProcessModelXMLExport. getDocumentForInstance(Instance instance)Creates a DOM document from the instance.InputStreamProcessModelXMLExport. getInputStreamForInstance(Instance instance)Returns The corresponding stream for a given instanceInputStreamProcessModelXMLExport. getInputStreamForInstance(Instance instance, boolean intend)Returns The corresponding stream for a given instanceStringProcessModelXMLExport. getXMLStringForInstance(Instance instance)Returns the xml code of a given instance as string.StringProcessModelXMLExport. getXMLStringForInstance(Instance instance, boolean intend)Returns the xml code of a given instance as string.voidProcessModelXMLExport. writeInstanceAndStatusToFile(Instance instance, InstanceStatus instanceStatus, File file, boolean storeStructure)Writes the given instance including its status to the given file.voidProcessModelXMLExport. writeInstanceAndStatusToFile(Instance instance, InstanceStatus instanceStatus, File file, boolean storeStructure, boolean intend)Writes the given instance including its status to the given file.voidProcessModelXMLExport. writeInstanceToFile(Instance instance, File file)Writes the given instance to the given file.voidProcessModelXMLExport. writeInstanceToFile(Instance instance, File file, boolean intend)Writes the given instance to the given file.Constructors in de.aristaflow.adept2.model.processmodel.xml with parameters of type Instance Constructor Description XPathSystemDataProvider(Instance instance, int nodeId)Creates a new system data provider for the designated map and the designated node. -
Uses of Instance in de.aristaflow.adept2.model.worklistmodel
Methods in de.aristaflow.adept2.model.worklistmodel with parameters of type Instance Modifier and Type Method Description static Map<String,PluginData>WorklistModelTools. mergeTlpiLocalisation(Instance instance)Merges the localisation from the designated instance (and its template) for usage in a worklist item representing the designated top-level instance. -
Uses of Instance in de.aristaflow.ilm.model.processmodel
Methods in de.aristaflow.ilm.model.processmodel that return Instance Modifier and Type Method Description static InstanceTransformation. fromIlm(ProcessModelFactory pmf, Instance inst)static InstanceTransformation. fromIlm(ProcessModelFactory pmf, Instance inst, Template templ)static InstanceTransformation. fromIlm(ProcessModelFactory pmf, Instance inst, Template templ)Methods in de.aristaflow.ilm.model.processmodel with parameters of type Instance Modifier and Type Method Description static InstanceTransformation. toIlm(Instance inst)
-