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 void
ChangeOperationTools. fireNodeStateChangedEvent(UpdateManager updateManager, Instance instance, Node node)
Fires updates for changed node statesstatic boolean
AddNodeSystemParameter. 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 boolean
AddNodeSystemParameter. 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 boolean
AddNodeSystemParameter. 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 boolean
AddSystemDataFlow. 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 boolean
AddSystemDataFlow. 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 boolean
AddSystemDataFlow. 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 boolean
AssignEmptyEmbeddedSubprocess. 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 boolean
AssignEmptyEmbeddedSubprocess. 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 boolean
CopyNode. 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 boolean
CopyNode. 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 boolean
InsertBetweenNodeSets. 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 boolean
InsertBetweenNodeSets. 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 boolean
InsertNode. 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 boolean
InsertNode. 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 boolean
RemoveNodeSystemParameter. 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 boolean
RemoveNodeSystemParameter. 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 boolean
RemoveNodeSystemParameter. 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 boolean
RemoveSystemDataFlow. 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 boolean
RemoveSystemDataFlow. 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 boolean
UpdateInstance. 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 boolean
UpdateInstance. 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 boolean
ProcessInstanceCheck. 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 void
ProcessAwareAccess. 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.boolean
ProcessAwareAccess. 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.String
ProcessAwareAccess. 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.void
ProcessAwareAccess. flushSavepoint(SessionToken session, Instance instance, int writingNodeId, int writerIteration, DataContainer dataContainer, String savepoint)
Flushes the designated safepoint only.DataContainer
ProcessAwareAccess. getDataContainer(SessionToken session, Instance instance, int nodeID)
Gets the data container for the application specified by the designated activity.InputDataContainer
ProcessUnawareAccess. getInputDataContainer(SessionToken session, Instance instance, Set<Integer> dataElementIDs)
Gets an input data container providing the most recent values of the designated data element IDs.InputDataContainer
ProcessAwareAccess. getNodeDataContainer(SessionToken session, Instance instance, int nodeID)
Gets the data container for the designated node.DataContainer
ProcessAwareAccess. 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.ParameterDataContext
ProcessAwareAccess. getPublicDataContext(SessionToken session, Instance instance, int nodeID)
Gets the data context providing all public data elements for the designated node.ParameterDataContext
ProcessUnawareAccess. getPublicDataContext(SessionToken session, Instance instance)
Gets the data context providing the most recent values of the public data elements of the designated instance.void
DataManager. instanceChanged(SessionToken session, Instance instance)
Notifies the data manager that the designated instance has been changed.void
DataManager. instanceChanged(SessionToken session, Instance instance, DataContainer changedDataContainer)
Notifies the data manager that the designated instance and also its output parameters have changed.DataContainer
DataManager. retrieveInstanceDataContainer(SessionToken session, Instance instance)
Retrieves the instance data container for the designated instance.void
ProcessAwareAccess. 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 void
ExecutionHistoryWriteAccess. logInstanceChanged(SessionToken session, long timestamp, Instance instance)
void
ExecutionHistoryWriteAccess. logInstanceFailed(SessionToken session, long timestamp, Instance instance, long errorCode, String errorState, String errorMessage)
void
ExecutionHistoryWriteAccess. logInstanceFinished(SessionToken session, long timestamp, Instance instance)
void
ExecutionHistoryWriteAccess. logInstanceResumed(SessionToken session, long timestamp, Instance instance)
void
ExecutionHistoryWriteAccess. logInstanceStarted(SessionToken session, long timestamp, Instance instance)
void
ExecutionHistoryWriteAccess. logInstanceSuspended(SessionToken session, long timestamp, Instance instance)
void
ExecutionHistoryWriteAccess. logNodeActivated(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeDeselected(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeFailed(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration, long errorCode, String errorState, String errorMessage)
void
ExecutionHistoryWriteAccess. logNodeFinished(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, Map<String,String> nodeName, int iteration, URI[] executionManagerURIs)
void
ExecutionHistoryWriteAccess. 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.void
ExecutionHistoryWriteAccess. 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.void
ExecutionHistoryWriteAccess. logNodeResetSoft(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. 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.void
ExecutionHistoryWriteAccess. logNodeResumed(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeSelected(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeSkipped(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeStarted(SessionToken session, long timestamp, Instance instance, int nodeID, Map<String,String> nodeName, int iteration)
void
ExecutionHistoryWriteAccess. 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.void
ExecutionHistoryWriteAccess. logNodeSuspended(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. 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 ProcessImageData
ProcessImageRenderer. renderInstance(SessionToken session, Instance instance, RenderOptions options)
Gets the designated process instance as rendered image.ProcessImageData
SimpleProcessImageRenderer. 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 Instance
InstanceManager. 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 interface
ExecutableInstance
This 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 Instance
ProcessNodeContext. 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 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.ProcessNodeContext
ExecutionFactory. createProcessNodeContext(Instance inst, int nodeId, Integer nodeIteration, ParameterDataContext pdc, Map<String,Set<String>> supportedPlugins, Map<String,PluginData> pluginData, Map<String,String> userAttributes)
Creates aProcessNodeContext
for 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 interface
ChangeableInstance
An 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 Instance
ProcessModelFactory. 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 EBPInstanceReference
ProcessModelFactory. 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 Instance
ProcessModelTools. 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 Instance
ProcessModelTools. cloneInstance(Instance instance, ProcessModelFactory factory)
Clones a given instance using the given process model factory.static URI
ProcessElementIdentifierTools. 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 Instance
XPathSystemDataProvider. instance
The instance from which to retrieve the system data.Methods in de.aristaflow.adept2.model.processmodel.xml that return Instance Modifier and Type Method Description Instance
ProcessModelXMLImport. getInstanceFromDocument(Document document, Template template)
Creates an instance using the given DOM document.Instance
ProcessModelXMLImport. getInstanceFromFile(File file)
Reads a process instance from the given file and determines the file type.Instance
ProcessModelXMLImport. getInstanceFromFile(File file, Template template)
Reads a process instance from the given file and determines the file type.Instance
ProcessModelXMLImport. 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 Document
ProcessModelXMLExport. getDocumentForInstance(Instance instance)
Creates a DOM document from the instance.InputStream
ProcessModelXMLExport. getInputStreamForInstance(Instance instance)
Returns The corresponding stream for a given instanceInputStream
ProcessModelXMLExport. getInputStreamForInstance(Instance instance, boolean intend)
Returns The corresponding stream for a given instanceString
ProcessModelXMLExport. getXMLStringForInstance(Instance instance)
Returns the xml code of a given instance as string.String
ProcessModelXMLExport. getXMLStringForInstance(Instance instance, boolean intend)
Returns the xml code of a given instance as string.void
ProcessModelXMLExport. writeInstanceAndStatusToFile(Instance instance, InstanceStatus instanceStatus, File file, boolean storeStructure)
Writes the given instance including its status to the given file.void
ProcessModelXMLExport. writeInstanceAndStatusToFile(Instance instance, InstanceStatus instanceStatus, File file, boolean storeStructure, boolean intend)
Writes the given instance including its status to the given file.void
ProcessModelXMLExport. writeInstanceToFile(Instance instance, File file)
Writes the given instance to the given file.void
ProcessModelXMLExport. 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 Instance
Transformation. fromIlm(ProcessModelFactory pmf, Instance inst)
static Instance
Transformation. fromIlm(ProcessModelFactory pmf, Instance inst, Template templ)
static Instance
Transformation. 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 Instance
Transformation. toIlm(Instance inst)
-