org.camunda.bpm.engine.impl
Class SchemaOperationsProcessEngineBuild

java.lang.Object
  extended by org.camunda.bpm.engine.impl.SchemaOperationsProcessEngineBuild
All Implemented Interfaces:
Command<Void>, SchemaOperationsCommand

public final class SchemaOperationsProcessEngineBuild
extends Object
implements SchemaOperationsCommand

Author:
Tom Baeyens, Roman Smirnov, Sebastian Menski, Daniel Meyer

Constructor Summary
SchemaOperationsProcessEngineBuild()
           
 
Method Summary
 void checkDeploymentLockExists(DbEntityManager entityManager)
           
 void checkHistoryCleanupLockExists(DbEntityManager entityManager)
           
 void checkHistoryLevel(DbEntityManager entityManager)
           
static Integer databaseHistoryLevel(DbEntityManager entityManager)
           
static void dbCreateHistoryLevel(DbEntityManager entityManager)
           
protected  void determineAutoHistoryLevel(ProcessEngineConfigurationImpl engineConfiguration, HistoryLevel databaseHistoryLevel)
           
 Void execute(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaOperationsProcessEngineBuild

public SchemaOperationsProcessEngineBuild()
Method Detail

execute

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

dbCreateHistoryLevel

public static void dbCreateHistoryLevel(DbEntityManager entityManager)

databaseHistoryLevel

public static Integer databaseHistoryLevel(DbEntityManager entityManager)
Parameters:
entityManager - entoty manager for db query
Returns:
Integer value representing the history level or null if none found

checkHistoryLevel

public void checkHistoryLevel(DbEntityManager entityManager)

determineAutoHistoryLevel

protected void determineAutoHistoryLevel(ProcessEngineConfigurationImpl engineConfiguration,
                                         HistoryLevel databaseHistoryLevel)

checkDeploymentLockExists

public void checkDeploymentLockExists(DbEntityManager entityManager)

checkHistoryCleanupLockExists

public void checkHistoryCleanupLockExists(DbEntityManager entityManager)


Copyright © 2017 camunda services GmbH. All rights reserved.