| Package | Description |
|---|---|
| de.aristaflow.adept2.core.logmanager.logs | |
| de.aristaflow.adept2.core.processmanager | |
| de.aristaflow.adept2.core.runtimemanager | |
| de.aristaflow.adept2.core.runtimemanager.gui | |
| de.aristaflow.adept2.core.runtimeservice | |
| de.aristaflow.adept2.core.worklistmanager | |
| de.aristaflow.adept2.model.execution | |
| de.aristaflow.adept2.model.globals |
The globals packages provides commonly used variables and enums.
|
| de.aristaflow.adept2.model.processmodel |
Warning: This package description is OUTDATED (work in progress)!!
|
| Modifier and Type | Method and Description |
|---|---|
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.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.
|
| Modifier and Type | Method and Description |
|---|---|
long |
ProcessManagerMXBean.getCountNodeState(int nodeType,
ProcessConstants.NodeState... states)
Gets the amount of nodes that is in one of the designated states if the node is of the
designated type.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<EBPInstanceReference,ProcessConstants.NodeState> |
RuntimeManager.logoffAndTerminateActivities(SessionToken session,
QualifiedAgent agent,
boolean forceTermination)
Logs the agent off that is identified by the designated client session
factory.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessConstants.NodeState |
AbstractGUIManager.terminateRemoteExecution(SessionToken session,
EBPInstanceReference activity,
java.lang.String sessionID)
Terminates the (remote) execution of the designated activity, that is, the
execution control manager of the designated activity is instructed
appropriately.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<EBPInstanceReference,ProcessConstants.NodeState> |
RuntimeService.logoffAndTerminateActivities(SessionToken session,
QualifiedAgent agent,
boolean forceTermination)
Logs the agent off that is identified by the designated client session
factory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WorklistNotification.addActivity(ExecutableBusinessProcessInstance ebpInstance,
ProcessConstants.NodeState state,
boolean suppressed,
EBPInstanceReference ebpInstanceReference,
java.lang.String staffAssignmentRule,
boolean initialUpdate)
Adds the activity, which is part of the designated node, to the worklists
for the user specified by the designated staff assignment rule.
|
void |
WorklistNotification.addAndAssignActivity(ExecutableBusinessProcessInstance ebpInstance,
ProcessConstants.NodeState state,
boolean suppressed,
EBPInstanceReference ebpInstanceReference,
java.lang.String staffAssignmentRule,
QualifiedAgent agent,
boolean initialUpdate)
Adds and assigns the activity, which is part of the designated given node,
to the worklist of the designated agent.
|
void |
WorklistNotification.assignAndUpdateActivity(EBPInstanceReference activity,
ProcessConstants.NodeState state,
QualifiedAgent agent)
Assign and updates the designated activity.
|
void |
WorklistNotification.promoteActivity(EBPInstanceReference activity,
ProcessConstants.NodeState state,
java.lang.String staffAssignmentRule,
QualifiedAgent agent)
Promotes the designated (suppressed) activity, that is, the activity is
added again to the previous worklists restoring the previous state.
|
void |
WorklistNotification.updateActivityState(EBPInstanceReference activity,
ProcessConstants.NodeState state)
Updates the state of the designated activity.
|
| Modifier and Type | Field and Description |
|---|---|
protected ProcessConstants.NodeState |
InvalidActivityStateException.activityState
The state in which the process step currently is and which prevents the
desired state transition.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessConstants.NodeState |
InvalidActivityStateException.getActivityState()
Returns the state the process step was in and that prevented the desired
state transition.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
ExecutableInstance.getNodesInState(ProcessConstants.NodeState... states)
Gets all nodes (node IDs) of this instance which are in the designated states.
|
void |
ExecutableInstance.setNodeState(int nodeID,
ProcessConstants.NodeState state)
Sets the designated node to the designated state.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutableInstance |
ExecutionFactory.createExecutableInstance(java.util.UUID instanceID,
java.util.UUID logID,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateID,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>> nodeLWPInstanceIDs,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.Integer,java.util.List<Enquiry>> currentEnquiries,
java.util.Map<java.lang.Integer,Enquiry> repliedEnquiries,
java.net.URI[] instanceTerminationCallbackURIs,
java.util.Map<java.lang.Integer,java.net.URI[]> runtimeManagerURIs,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
|
ExecutableInstance |
ExecutionFactory.createExecutableInstance(java.util.UUID instanceID,
java.util.UUID logID,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateID,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>> nodeLWPInstanceIDs,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
|
ExecutableInstance |
ExecutionFactory.createExecutableInstanceLwpIts(java.util.UUID instanceId,
java.util.UUID logId,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateId,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>>> nodeLwpInstanceIds,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.Integer,java.util.List<Enquiry>> currentEnquiries,
java.util.Map<java.lang.Integer,Enquiry> repliedEnquiries,
java.net.URI[] instanceTerminationCallbackUris,
java.util.Map<java.lang.Integer,java.net.URI[]> runtimeManagerUris,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Creates an ExecutableInstance object.
|
ExecutableInstance |
ExecutionFactory.createExecutableInstanceLwpIts(java.util.UUID instanceId,
java.util.UUID logId,
java.lang.String instanceName,
boolean modified,
java.util.UUID baseTemplateId,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference parentReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> executionModes,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>>> nodeLwpInstanceIds,
java.util.Map<java.lang.Integer,QualifiedAgent> nodePerformingAgents,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Creates an ExecutableInstance object.
|
| Constructor and Description |
|---|
InvalidActivityStateException(java.lang.String msg,
ProcessConstants.NodeState activityState)
Constructs a new
InvalidActivityStateException which
encapsulates a string and the current state of the activity. |
InvalidActivityStateException(java.lang.String msg,
ProcessConstants.NodeState activityState,
QualifiedAgent agent)
Constructs a new
InvalidActivityStateException which
encapsulates a string, the current state of the activity and the agent. |
InvalidActivityStateException(java.lang.String msg,
ProcessConstants.NodeState activityState,
QualifiedAgent agent,
java.lang.Throwable cause)
Constructs a new
InvalidActivityStateException which
encapsulates a string, the current state of the activity, the agent
executing the activity and the cause for this exception. |
InvalidActivityStateException(java.lang.String msg,
ProcessConstants.NodeState activityState,
java.lang.Throwable cause)
Constructs a new
InvalidActivityStateException which
encapsulates a string, the current state of the activity and
the cause for this exception. |
InvalidRuntimeManagerException(EBPInstanceReference ebp,
ProcessConstants.NodeState state)
Creates a new
InvalidRuntimeManagerException to indicate that
an execution manager cannot resolve the runtime manager URIs provided by an
EBPInstanceReference. |
InvalidRuntimeManagerException(EBPInstanceReference ebp,
ProcessConstants.NodeState state,
java.lang.Throwable cause)
Creates a new
InvalidRuntimeManagerException to indicate that
an execution manager cannot resolve the runtime manager URIs provided by an
EBPInstanceReference. |
| Modifier and Type | Method and Description |
|---|---|
static ProcessConstants.NodeState[] |
ProcessConstants.NodeState.getAll()
Gets all node states in an array.
|
static ProcessConstants.NodeState |
ProcessConstants.NodeState.valueOf(int code) |
static ProcessConstants.NodeState |
ProcessConstants.NodeState.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProcessConstants.NodeState[] |
ProcessConstants.NodeState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessConstants.NodeState |
Instance.getNodeState(int nodeID)
Returns the state of the node with the given ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChangeableInstance.setNodeState(int nodeID,
ProcessConstants.NodeState state)
Sets the state of the node.
|
| Modifier and Type | Method and Description |
|---|---|
Instance |
ProcessModelFactory.createInstance(java.util.UUID id,
java.util.UUID logID,
java.lang.String name,
boolean isModified,
java.util.UUID baseTemplateID,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference ebpInstanceReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> nodeExecutionModes,
java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>> nodeLWPInstanceIDs,
java.util.Map<java.lang.Integer,QualifiedAgent> activityAgents,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
|
Instance |
ProcessModelFactory.createInstanceLwpIts(java.util.UUID id,
java.util.UUID logId,
java.lang.String name,
boolean isModified,
java.util.UUID baseTemplateId,
Template template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
EBPInstanceReference ebpInstanceReference,
long creationTime,
java.util.Map<java.lang.Integer,ProcessConstants.NodeState> nodeStates,
java.util.Map<java.lang.Integer,java.lang.Integer> nodeIterations,
java.util.Map<java.lang.Integer,ProcessConstants.ExecutionMode> nodeExecutionModes,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.List<java.util.UUID>>> nodeLwpInstanceIds,
java.util.Map<java.lang.Integer,QualifiedAgent> activityAgents,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> supportedPlugins,
java.util.Map<java.lang.String,PluginData> pluginData,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Create an Instance.
|