|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HistoryProcessInstance
one occurence of an execution of a process definition.
Every ProcessInstance will have one HistoryProcessInstance
associated. The difference is that the ProcessInstance will be
deleted when it is ended. And the history information will remain
in the DB. That keeps the runtime DB healthy and performant.
| Field Summary | |
|---|---|
static java.lang.String |
STATE_ACTIVE
when the full process instance is still active |
static java.lang.String |
STATE_ENDED
when the full process instance has come to an end |
| Method Summary | |
|---|---|
java.lang.Long |
getDuration()
duration of the process instance in milliseconds or null if the process instance has not yet ended |
java.util.Date |
getEndTime()
when the process instance ended (only not null if the process instance already ended) |
java.lang.String |
getKey()
unique user provided business key (could be null if no such key is provided in ExecutionService.startProcessInstanceById(String, java.util.Map, String)) |
java.lang.String |
getProcessDefinitionId()
reference to the process definition |
java.lang.String |
getProcessInstanceId()
the process instance id (== the root execution id) |
java.util.Date |
getStartTime()
when the process instance started |
java.lang.String |
getState()
STATE_ACTIVE or STATE_ENDED (this more coarse grained
state then Execution.getState()) |
| Field Detail |
|---|
static final java.lang.String STATE_ENDED
static final java.lang.String STATE_ACTIVE
| Method Detail |
|---|
java.lang.String getProcessInstanceId()
java.lang.String getProcessDefinitionId()
java.lang.String getKey()
ExecutionService.startProcessInstanceById(String, java.util.Map, String))
java.lang.String getState()
STATE_ACTIVE or STATE_ENDED (this more coarse grained
state then Execution.getState())
java.util.Date getStartTime()
java.util.Date getEndTime()
java.lang.Long getDuration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||