liquibase.configuration
Class GlobalConfiguration

java.lang.Object
  extended by liquibase.configuration.AbstractConfigurationContainer
      extended by liquibase.configuration.GlobalConfiguration
All Implemented Interfaces:
ConfigurationContainer

public class GlobalConfiguration
extends AbstractConfigurationContainer

Configuration container for global properties.


Nested Class Summary
 
Nested classes/interfaces inherited from class liquibase.configuration.AbstractConfigurationContainer
AbstractConfigurationContainer.ConfigurationContainer
 
Field Summary
static String ALWAYS_OVERRIDE_STORED_LOGIC_SCHEMA
           
static String AUTO_REORG
           
static String CHANGELOGLOCK_POLL_RATE
           
static String CHANGELOGLOCK_WAIT_TIME
           
static String CONVERT_DATA_TYPES
           
static String DATABASECHANGELOG_TABLE_NAME
           
static String DATABASECHANGELOGLOCK_TABLE_NAME
           
static String DIFF_COLUMN_ORDER
           
static String GENERATE_CHANGESET_CREATED_VALUES
           
static String GENERATED_CHANGESET_IDS_INCLUDE_DESCRIPTION
           
static String LIQUIBASE_CATALOG_NAME
           
static String LIQUIBASE_SCHEMA_NAME
           
static String LIQUIBASE_TABLESPACE_NAME
           
static String OUTPUT_ENCODING
           
static String OUTPUT_LINE_SEPARATOR
           
static String SHOULD_RUN
           
 
Constructor Summary
GlobalConfiguration()
           
 
Method Summary
 Boolean getAlwaysOverrideStoredLogicSchema()
           
 Long getDatabaseChangeLogLockPollRate()
          Wait time (in seconds) between polling requests to the changelog lock system.
 String getDatabaseChangeLogLockTableName()
          Table name to use for DATABASECHANGELOGLOCK
 Long getDatabaseChangeLogLockWaitTime()
          Wait time (in minutes) to wait to receive the changelog lock before giving up.
 String getDatabaseChangeLogTableName()
          Table name to use for DATABASECHANGELOG
 Boolean getDiffColumnOrder()
           
 Boolean getGeneratedChangeSetIdsContainDescription()
           
 String getLiquibaseCatalogName()
          Name of the catalog to use for liquibase database objects
 String getLiquibaseSchemaName()
          Name of the schema to use for liquibase database objects
 String getLiquibaseTablespaceName()
          Name of the tablespace to use for liquibase database objects
 String getOutputEncoding()
          String encoding to use in output.
 String getOutputLineSeparator()
          Line separator to use in output
 boolean getShouldRun()
          Should Liquibase execute
 GlobalConfiguration setAlwaysOverrideStoredLogicSchema(boolean override)
           
 GlobalConfiguration setDatabaseChangeLogLockPollRate(Long seconds)
           
 GlobalConfiguration setDatabaseChangeLogLockTableName(String name)
           
 GlobalConfiguration setDatabaseChangeLogLockWaitTime(Long minutes)
           
 GlobalConfiguration setDatabaseChangeLogTableName(String name)
           
 GlobalConfiguration setDiffColumnOrder(boolean diff)
           
 GlobalConfiguration setGeneratedChangeSetIdsContainDescription(boolean containDescription)
           
 GlobalConfiguration setLiquibaseCatalogName(String name)
           
 GlobalConfiguration setLiquibaseSchemaName(String name)
           
 GlobalConfiguration setLiquibaseTablespaceName(String name)
           
 GlobalConfiguration setOutputEncoding(String name)
           
 GlobalConfiguration setOutputLineSeparator(String name)
           
 GlobalConfiguration setShouldRun(boolean shouldRun)
           
 
Methods inherited from class liquibase.configuration.AbstractConfigurationContainer
getContainer, getProperties, getProperty, getValue, init, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOULD_RUN

public static final String SHOULD_RUN
See Also:
Constant Field Values

DATABASECHANGELOG_TABLE_NAME

public static final String DATABASECHANGELOG_TABLE_NAME
See Also:
Constant Field Values

DATABASECHANGELOGLOCK_TABLE_NAME

public static final String DATABASECHANGELOGLOCK_TABLE_NAME
See Also:
Constant Field Values

LIQUIBASE_TABLESPACE_NAME

public static final String LIQUIBASE_TABLESPACE_NAME
See Also:
Constant Field Values

LIQUIBASE_CATALOG_NAME

public static final String LIQUIBASE_CATALOG_NAME
See Also:
Constant Field Values

LIQUIBASE_SCHEMA_NAME

public static final String LIQUIBASE_SCHEMA_NAME
See Also:
Constant Field Values

OUTPUT_LINE_SEPARATOR

public static final String OUTPUT_LINE_SEPARATOR
See Also:
Constant Field Values

OUTPUT_ENCODING

public static final String OUTPUT_ENCODING
See Also:
Constant Field Values

CHANGELOGLOCK_WAIT_TIME

public static final String CHANGELOGLOCK_WAIT_TIME
See Also:
Constant Field Values

CHANGELOGLOCK_POLL_RATE

public static final String CHANGELOGLOCK_POLL_RATE
See Also:
Constant Field Values

CONVERT_DATA_TYPES

public static final String CONVERT_DATA_TYPES
See Also:
Constant Field Values

GENERATE_CHANGESET_CREATED_VALUES

public static final String GENERATE_CHANGESET_CREATED_VALUES
See Also:
Constant Field Values

AUTO_REORG

public static final String AUTO_REORG
See Also:
Constant Field Values

DIFF_COLUMN_ORDER

public static final String DIFF_COLUMN_ORDER
See Also:
Constant Field Values

ALWAYS_OVERRIDE_STORED_LOGIC_SCHEMA

public static final String ALWAYS_OVERRIDE_STORED_LOGIC_SCHEMA
See Also:
Constant Field Values

GENERATED_CHANGESET_IDS_INCLUDE_DESCRIPTION

public static final String GENERATED_CHANGESET_IDS_INCLUDE_DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

GlobalConfiguration

public GlobalConfiguration()
Method Detail

getShouldRun

public boolean getShouldRun()
Should Liquibase execute


setShouldRun

public GlobalConfiguration setShouldRun(boolean shouldRun)

getDatabaseChangeLogTableName

public String getDatabaseChangeLogTableName()
Table name to use for DATABASECHANGELOG


setDatabaseChangeLogTableName

public GlobalConfiguration setDatabaseChangeLogTableName(String name)

getDatabaseChangeLogLockTableName

public String getDatabaseChangeLogLockTableName()
Table name to use for DATABASECHANGELOGLOCK


setDatabaseChangeLogLockTableName

public GlobalConfiguration setDatabaseChangeLogLockTableName(String name)

getDatabaseChangeLogLockWaitTime

public Long getDatabaseChangeLogLockWaitTime()
Wait time (in minutes) to wait to receive the changelog lock before giving up.


setDatabaseChangeLogLockWaitTime

public GlobalConfiguration setDatabaseChangeLogLockWaitTime(Long minutes)

getDatabaseChangeLogLockPollRate

public Long getDatabaseChangeLogLockPollRate()
Wait time (in seconds) between polling requests to the changelog lock system.


setDatabaseChangeLogLockPollRate

public GlobalConfiguration setDatabaseChangeLogLockPollRate(Long seconds)

getLiquibaseTablespaceName

public String getLiquibaseTablespaceName()
Name of the tablespace to use for liquibase database objects


setLiquibaseTablespaceName

public GlobalConfiguration setLiquibaseTablespaceName(String name)

getLiquibaseCatalogName

public String getLiquibaseCatalogName()
Name of the catalog to use for liquibase database objects


setLiquibaseCatalogName

public GlobalConfiguration setLiquibaseCatalogName(String name)

getLiquibaseSchemaName

public String getLiquibaseSchemaName()
Name of the schema to use for liquibase database objects


setLiquibaseSchemaName

public GlobalConfiguration setLiquibaseSchemaName(String name)

getOutputLineSeparator

public String getOutputLineSeparator()
Line separator to use in output


setOutputLineSeparator

public GlobalConfiguration setOutputLineSeparator(String name)

getOutputEncoding

public String getOutputEncoding()
String encoding to use in output.


setOutputEncoding

public GlobalConfiguration setOutputEncoding(String name)

getDiffColumnOrder

public Boolean getDiffColumnOrder()

setDiffColumnOrder

public GlobalConfiguration setDiffColumnOrder(boolean diff)

getAlwaysOverrideStoredLogicSchema

public Boolean getAlwaysOverrideStoredLogicSchema()

setAlwaysOverrideStoredLogicSchema

public GlobalConfiguration setAlwaysOverrideStoredLogicSchema(boolean override)

getGeneratedChangeSetIdsContainDescription

public Boolean getGeneratedChangeSetIdsContainDescription()

setGeneratedChangeSetIdsContainDescription

public GlobalConfiguration setGeneratedChangeSetIdsContainDescription(boolean containDescription)


Copyright © 2016 Liquibase.org. All rights reserved.