Package org.operaton.bpm.engine.impl
Class DefaultHistoryLevelSetupCommand
java.lang.Object
org.operaton.bpm.engine.impl.DefaultHistoryLevelSetupCommand
- All Implemented Interfaces:
HistoryLevelSetupCommand,Command<Void>
Default implementation of
HistoryLevelSetupCommand.
Verifies that the history level configured in
ProcessEngineConfigurationImpl.getHistoryLevel() matches the one persisted in the
database, writing the configured level to the database if none is present yet.
- Since:
- 2.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidacquireExclusiveLock(CommandContext commandContext) protected voidcheckStartupLockExists(CommandContext commandContext) protected voiddetermineAutoHistoryLevel(ProcessEngineConfigurationImpl engineConfiguration, HistoryLevel databaseHistoryLevel) execute(CommandContext commandContext)
-
Constructor Details
-
DefaultHistoryLevelSetupCommand
public DefaultHistoryLevelSetupCommand()
-
-
Method Details
-
execute
-
determineAutoHistoryLevel
protected void determineAutoHistoryLevel(ProcessEngineConfigurationImpl engineConfiguration, HistoryLevel databaseHistoryLevel) -
checkStartupLockExists
-
acquireExclusiveLock
-