Class ChangeLogParameters

java.lang.Object
liquibase.changelog.ChangeLogParameters

public class ChangeLogParameters extends Object
Holds the parameters configured for a DatabaseChangeLog.

In general, the end behavior of defined parameters is "the first set value wins". For example, if you set a parameter "x" to "1" and then set it to "2", the value will remain "1". This immutable property behavior allows users to easily set default values, knowing that any "upstream" overrides will take priority.

In determining which property value is actually "first set", context, label, and dbms filtering is taken into account.

Properties can be defined as "system", "global" or "local". Global and system properties span all change logs. A global setting configured in an included changelog is still available to all changesets. System properties such as environment variables are set up to not be filterable. This implies that they will ignore any label, context or dbms filters that are requested on the given execution. This is different from globals set up inside a changelog which can and will be filtered if they have a label, context or dbms associated with the property.

Local properties are only available in the change log that they are defined in -- not even in changelogs "included" by the file that defines the property.