org.camunda.bpm.engine.impl.history
Class HistoryLevelActivity
java.lang.Object
org.camunda.bpm.engine.impl.history.AbstractHistoryLevel
org.camunda.bpm.engine.impl.history.HistoryLevelActivity
- All Implemented Interfaces:
- HistoryLevel
- Direct Known Subclasses:
- HistoryLevelAudit
public class HistoryLevelActivity
- extends AbstractHistoryLevel
- Author:
- Daniel Meyer
HistoryLevelActivity
public HistoryLevelActivity()
getId
public int getId()
- Description copied from interface:
HistoryLevel
- An unique id identifying the history level.
The id is used internally to uniquely identify the history level and also stored in the database.
getName
public String getName()
- Description copied from interface:
HistoryLevel
- An unique name identifying the history level.
The name of the history level can be used when configuring the process engine.
- See Also:
ProcessEngineConfiguration#setHistory(String)}
isHistoryEventProduced
public boolean isHistoryEventProduced(HistoryEventType eventType,
Object entity)
- Description copied from interface:
HistoryLevel
- Returns true if a given history event should be produced.
- Parameters:
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 © 2015 camunda services GmbH. All rights reserved.