public class HistoryLevelNone extends AbstractHistoryLevel
HISTORY_LEVEL_ACTIVITY, HISTORY_LEVEL_AUDIT, HISTORY_LEVEL_FULL, HISTORY_LEVEL_NONE
Constructor and Description |
---|
HistoryLevelNone() |
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
public String getName()
HistoryLevel
ProcessEngineConfiguration#setHistory(String)}
public boolean isHistoryEventProduced(HistoryEventType eventType, Object entity)
HistoryLevel
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 © 2022. All rights reserved.