Class HistoryLevelSetupCommand

java.lang.Object
org.camunda.bpm.engine.impl.HistoryLevelSetupCommand
All Implemented Interfaces:
Command<Void>

public final class HistoryLevelSetupCommand extends Object implements Command<Void>
  • Constructor Details

    • HistoryLevelSetupCommand

      public HistoryLevelSetupCommand()
  • Method Details

    • execute

      public Void execute(CommandContext commandContext)
      Specified by:
      execute in interface Command<Void>
    • dbCreateHistoryLevel

      public static void dbCreateHistoryLevel(CommandContext commandContext)
    • databaseHistoryLevel

      public static Integer databaseHistoryLevel(CommandContext commandContext)
      Returns:
      Integer value representing the history level or null if none found
    • determineAutoHistoryLevel

      protected void determineAutoHistoryLevel(ProcessEngineConfigurationImpl engineConfiguration, HistoryLevel databaseHistoryLevel)
    • checkStartupLockExists

      protected void checkStartupLockExists(CommandContext commandContext)
    • acquireExclusiveLock

      protected void acquireExclusiveLock(CommandContext commandContext)