ServiceLocator.
liquibase.change.Change
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Change | |
| private String | |
| public ChangeMetaData | |
| public ChangeMetaData | |
| public SortedSet | |
| public static ChangeFactory | |
| public Map | |
| protected Class | |
| protected int | getPriority(Change obj, Object... args)
Implements abstract liquibase. Returns the priority of the given object based on the passed args array. |
| public void | setPerformSupportsDatabaseValidation(boolean performSupportsDatabaseValidation)
Should the change be checked to see if it supports the current database? |
| public void |
| cachedMetadata | back to summary |
|---|---|
| private final Map<String, ChangeMetaData> cachedMetadata | |
| performSupportsDatabaseValidation | back to summary |
|---|---|
| private boolean performSupportsDatabaseValidation | |
| ChangeFactory | back to summary |
|---|---|
| private ChangeFactory() | |
| create | back to summary |
|---|---|
| public Change create(String name) Create a new Change implementation for the given change name. The class of the constructed object will be the Change implementation with the highest priority. Each call to create will return a new instance of the Change. | |
| generateCacheKey | back to summary |
|---|---|
| private String generateCacheKey(Change change) | |
| getChangeMetaData | back to summary |
|---|---|
| public ChangeMetaData getChangeMetaData(String change) | |
| getChangeMetaData | back to summary |
|---|---|
| public ChangeMetaData getChangeMetaData(Change change) | |
| getDefinedChanges | back to summary |
|---|---|
| public SortedSet Returns all defined changes in the registry. Returned set is not modifiable. | |
| getInstance | back to summary |
|---|---|
| public static ChangeFactory getInstance()
Deprecated | |
| getParameters | back to summary |
|---|---|
| public Map | |
| getPluginClass | back to summary |
|---|---|
| protected Class Implements abstract liquibase.
| |
| getPriority | back to summary |
|---|---|
| protected int getPriority(Change obj, Object... args) Implements abstract liquibase. Doc from liquibase. Returns the priority of the given object based on the passed args array.
The args are created as part of the custom public getPlugin method in implementations are passed through
| |
| setPerformSupportsDatabaseValidation | back to summary |
|---|---|
| public void setPerformSupportsDatabaseValidation(boolean performSupportsDatabaseValidation) Should the change be checked to see if it supports the current database? Default is true | |
| unregister | back to summary |
|---|---|
| public void unregister(String name) Unregister all instances of a given Change name. Normally used for testing, but can be called manually if needed. | |