| Package | Description |
|---|---|
| de.aristaflow.adept2.core.executionmanager | |
| de.aristaflow.adept2.core.processmanager | |
| 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 |
|---|---|
SerialisablePair<java.lang.Boolean,ProcessConstants.InstanceExecutionStatus> |
InstanceControl.checkForAndFixInconsistencies(SessionToken session,
java.util.UUID instId)
Checks the designated instance for inconsistencies and tries to fix them.
|
| Modifier and Type | Method and Description |
|---|---|
long |
ProcessManagerMXBean.getCountInstanceExecutionStatus(int instType,
ProcessConstants.InstanceExecutionStatus... statuses)
Gets the amount of instances that entered one of the designated instance execution statuses
within one of the designated time spans if the instance is of the designated type.
|
void |
InstanceManager.setExecutionStatus(SessionToken session,
java.util.UUID instanceID,
ProcessConstants.InstanceExecutionStatus executionStatus,
java.lang.String comment)
Sets the execution status of the designated instance according to the
designated values.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessConstants.InstanceExecutionStatus[] |
ProcessConstants.InstanceExecutionStatus.getAll()
Gets all instance execution statuses in an array.
|
static ProcessConstants.InstanceExecutionStatus |
ProcessConstants.InstanceExecutionStatus.valueOf(int code) |
static ProcessConstants.InstanceExecutionStatus |
ProcessConstants.InstanceExecutionStatus.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProcessConstants.InstanceExecutionStatus[] |
ProcessConstants.InstanceExecutionStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
protected ProcessConstants.InstanceExecutionStatus |
InvalidInstanceStateException.executionState
The execution state in which the instance currently is and which prevents
the execution of the called method.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessConstants.InstanceExecutionStatus |
InstanceReference.getExecutionStatus()
Returns the execution status of the instance.
|
ProcessConstants.InstanceExecutionStatus |
InstanceStatus.getExecutionStatus()
Returns the execution status of the instance.
|
ProcessConstants.InstanceExecutionStatus |
InvalidInstanceStateException.getInstanceExecutionStatus()
Gets the execution status of the instance which has led to this exception
or null in case a migration state has led to this exception.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceReference |
ProcessModelFactory.createInstanceReference(java.util.UUID id,
java.util.UUID logID,
java.lang.String name,
boolean isModified,
TemplateReference template,
QualifiedAgent supervisorAgent,
QualifiedAgent initiatorAgent,
long creationTime,
java.util.UUID parentInstanceID,
ProcessConstants.InstanceExecutionStatus executionStatus,
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 InstanceReference.
|
InstanceStatus |
ProcessModelFactory.createInstanceStatus(java.util.UUID instanceID,
ProcessConstants.InstanceMigrationStatus migrationStatus,
long migrationStatusDate,
java.lang.String migrationStatusComment,
ProcessConstants.InstanceExecutionStatus executionStatus,
long executionStatusDate,
java.lang.String executionStatusComment) |
InstanceStatus |
ProcessModelFactory.createInstanceStatus(java.util.UUID instanceID,
ProcessConstants.InstanceMigrationStatus migrationStatus,
java.lang.String migrationStatusComment,
ProcessConstants.InstanceExecutionStatus executionStatus,
java.lang.String executionStatusComment) |
void |
InstanceStatus.setExecutionStatus(ProcessConstants.InstanceExecutionStatus executionStatus,
java.lang.String comment)
Set the execution status of the instance.
|
| Constructor and Description |
|---|
InvalidInstanceStateException(java.util.UUID instanceID,
ProcessConstants.InstanceExecutionStatus currentExecutionState,
ProcessConstants.InstanceMigrationStatus currentMigrationState,
boolean migrationPrevents,
java.lang.String message)
Constructs a new
InvalidInstanceStateException which signals
that the designated instance is in the designated execution and migration
state and one of them prevents the desired action. |
InvalidInstanceStateException(java.util.UUID instanceID,
ProcessConstants.InstanceExecutionStatus currentExecutionState,
java.lang.String message)
Constructs a new
InvalidInstanceStateException which signals
that the designated instance is in the designated current execution state
which prevents the desired action. |