|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HistoryLevel
The history level controls what kind of data is logged to the history database.
More formally, it controls which history events are produced by the HistoryEventProducer.
Built-in history levels: The process engine provides a set of built-in history levels as default configuration. The built-in history levels are:
This class provides singleton instances of these history levels as constants.Custom history levels:In order to implement a custom history level, the following steps are necessary:
getName() and getId()ProcessEngineConfigurationImpl.setCustomHistoryLevels(java.util.List)getName() as value for
ProcessEngineConfiguration.setHistory(String)
| Field Summary | |
|---|---|
static HistoryLevel |
HISTORY_LEVEL_ACTIVITY
|
static HistoryLevel |
HISTORY_LEVEL_AUDIT
|
static HistoryLevel |
HISTORY_LEVEL_FULL
|
static HistoryLevel |
HISTORY_LEVEL_NONE
|
| Method Summary | |
|---|---|
int |
getId()
An unique id identifying the history level. |
String |
getName()
An unique name identifying the history level. |
boolean |
isHistoryEventProduced(HistoryEventType eventType,
Object entity)
Returns true if a given history event should be produced. |
| Field Detail |
|---|
static final HistoryLevel HISTORY_LEVEL_NONE
static final HistoryLevel HISTORY_LEVEL_ACTIVITY
static final HistoryLevel HISTORY_LEVEL_AUDIT
static final HistoryLevel HISTORY_LEVEL_FULL
| Method Detail |
|---|
int getId()
String getName()
ProcessEngineConfiguration#setHistory(String)}
boolean isHistoryEventProduced(HistoryEventType eventType,
Object entity)
eventType - the type of the history event which is about to be producedentity - the runtime structure used to produce the history event. Examples ExecutionEntity,
TaskEntity, VariableInstanceEntity, ... If a 'null' value is provided, the implementation
should return true if events of this type should be produced "in general".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||