Class HistoryLevelAudit
- java.lang.Object
-
- org.camunda.bpm.engine.impl.history.AbstractHistoryLevel
-
- org.camunda.bpm.engine.impl.history.HistoryLevelActivity
-
- org.camunda.bpm.engine.impl.history.HistoryLevelAudit
-
- All Implemented Interfaces:
HistoryLevel
public class HistoryLevelAudit extends HistoryLevelActivity
- Author:
- Daniel Meyer
-
-
Field Summary
-
Fields inherited from interface org.camunda.bpm.engine.impl.history.HistoryLevel
HISTORY_LEVEL_ACTIVITY, HISTORY_LEVEL_AUDIT, HISTORY_LEVEL_FULL, HISTORY_LEVEL_NONE
-
-
Constructor Summary
Constructors Constructor Description HistoryLevelAudit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()An unique id identifying the history level.java.lang.StringgetName()An unique name identifying the history level.booleanisHistoryEventProduced(HistoryEventType eventType, java.lang.Object entity)Returns true if a given history event should be produced.-
Methods inherited from class org.camunda.bpm.engine.impl.history.AbstractHistoryLevel
equals, hashCode, toString
-
-
-
-
Method Detail
-
getId
public int getId()
Description copied from interface:HistoryLevelAn unique id identifying the history level. The id is used internally to uniquely identify the history level and also stored in the database.- Specified by:
getIdin interfaceHistoryLevel- Overrides:
getIdin classHistoryLevelActivity
-
getName
public java.lang.String getName()
Description copied from interface:HistoryLevelAn unique name identifying the history level. The name of the history level can be used when configuring the process engine.- Specified by:
getNamein interfaceHistoryLevel- Overrides:
getNamein classHistoryLevelActivity
-
isHistoryEventProduced
public boolean isHistoryEventProduced(HistoryEventType eventType, java.lang.Object entity)
Description copied from interface:HistoryLevelReturns true if a given history event should be produced.- Specified by:
isHistoryEventProducedin interfaceHistoryLevel- Overrides:
isHistoryEventProducedin classHistoryLevelActivity- Parameters:
eventType- the type of the history event which is about to be producedentity- the runtime structure used to produce the history event. ExamplesExecutionEntity,TaskEntity,VariableInstanceEntity, ... If a 'null' value is provided, the implementation should return true if events of this type should be produced "in general".
-
-