public class HistoryLevelAudit extends HistoryLevelActivity
HISTORY_LEVEL_ACTIVITY, HISTORY_LEVEL_AUDIT, HISTORY_LEVEL_FULL, HISTORY_LEVEL_NONE
Constructor and Description |
---|
HistoryLevelAudit() |
Modifier and Type | Method and Description |
---|---|
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.
|
equals, hashCode, toString
public int getId()
HistoryLevel
getId
in interface HistoryLevel
getId
in class HistoryLevelActivity
public String getName()
HistoryLevel
getName
in interface HistoryLevel
getName
in class HistoryLevelActivity
ProcessEngineConfiguration#setHistory(String)}
public boolean isHistoryEventProduced(HistoryEventType eventType, Object entity)
HistoryLevel
isHistoryEventProduced
in interface HistoryLevel
isHistoryEventProduced
in class HistoryLevelActivity
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".Copyright © 2018. All rights reserved.