|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivityInstance<T extends ActivityBody>
Runtime (recorded) data concerning activities is divided in a common part and a body.
This interface concerns the common part for the activity.
Method Summary | |
---|---|
java.lang.String |
getActivityId()
Returns the value of the id attribute of the Activity element defined into the XPDL file. |
java.lang.String |
getActivityInstanceId()
Returns the activity instance id of this activity (in case of multi instantiation) |
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 id 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 |
---|
getProcessDefinitionUUID, getProcessInstanceUUID |
Method Detail |
---|
ActivityInstanceUUID getUUID()
java.lang.String getActivityId()
java.lang.String getIterationId()
java.lang.String getActivityInstanceId()
java.util.Map<java.lang.String,java.lang.Object> getVariablesBeforeStarted()
Enumeration
,
a plain String
, a Boolean
, a Date
, a Long
or a Double
).
An empty map is returned if no variable is found.
java.lang.Object getVariableValueBeforeStarted(java.lang.String variableId)
variableId
- the variable processDefinitionUUID.
Enumeration
,
a plain String
, a Boolean
, a Date
, a Long
or a Double
).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 |