|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ActivityInstance<T extends ActivityBody>
| Method Summary | |
|---|---|
java.lang.String |
getActivityId()
Returns the value of the id attribute of the Activity element defined into the XPDL file. |
T |
getBody()
The body of the activity depends on some XPDL definition elements within the Activity element like: Implementation (No, Subflow), StartMode (Manual/Automatic) or Route. |
java.lang.String |
getIterationId()
Returns the iteration processDefinitionUUID of this activity |
java.util.Map<java.lang.String,java.lang.Object> |
getLastKnownVariableValues()
Returns the map containing all variables with the last updated value. |
ActivityInstanceUUID |
getUUID()
Returns the UUID of the activity instance. |
java.util.Map<java.lang.String,java.lang.Object> |
getVariablesBeforeStarted()
Returns all variables for the recorded activity before the activity has been started. |
java.util.List<VariableUpdate> |
getVariableUpdates()
Gives access to the historic of variables updates. |
java.lang.Object |
getVariableValueBeforeStarted(java.lang.String variableId)
Returns the value of the variable with the specified key before the activity has been started. |
| Methods inherited from interface org.ow2.bonita.facade.runtime.RuntimeRecord |
|---|
getPackageDefinitionUUID, getProcessDefinitionUUID, getProcessInstanceUUID |
| Method Detail |
|---|
ActivityInstanceUUID getUUID()
java.lang.String getActivityId()
java.lang.String getIterationId()
java.util.Map<java.lang.String,java.lang.Object> getVariablesBeforeStarted()
java.lang.Object getVariableValueBeforeStarted(java.lang.String variableId)
variableId - the variable processDefinitionUUID.
T getBody()
The body of the activity depends on some XPDL definition elements within the Activity element like: Implementation (No, Subflow), StartMode (Manual/Automatic) or Route.
TaskInstance. In other words a task instance has been created and its
recorded informations are available all along the life of the task (aka human task)AutomaticBody.
This body is in charge to execute the hook defined within the activity (aka automatic activity).AutomaticBody. This will move to specific type in further versionAutomaticBody.
This type of activity has only routing behavior.
java.util.List<VariableUpdate> getVariableUpdates()
java.util.Map<java.lang.String,java.lang.Object> getLastKnownVariableValues()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||