liquibase.change.custom.CustomSqlChange , liquibase.change.custom.CustomTaskChange
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private boolean | |
| pack-priv CustomChange | customChange
Non-private access only for testing. |
| private final SortedSet | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| className | back to summary |
|---|---|
| private String className | |
| configured | back to summary |
|---|---|
| private boolean configured | |
| customChange | back to summary |
|---|---|
| pack-priv CustomChange customChange Non-private access only for testing. | |
| params | back to summary |
|---|---|
| private final SortedSet<String> params | |
| paramValues | back to summary |
|---|---|
| private final Map<String, String> paramValues | |
| CustomChangeWrapper | back to summary |
|---|---|
| public CustomChangeWrapper() | |
| configureCustomChange | back to summary |
|---|---|
| private void configureCustomChange() throws CustomChangeException | |
| customLoadLogic | back to summary |
|---|---|
| public void customLoadLogic(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException Overrides liquibase.
| |
| generateRollbackStatements | back to summary |
|---|---|
| public SqlStatement[] generateRollbackStatements(Database database) throws RollbackImpossibleException Overrides liquibase. Implements liquibase. Finishes configuring the CustomChange based on the values passed to RollbackImpossibleException exceptions thrown by the CustomChange will thrown by this method.
| |
| generateStatements | back to summary |
|---|---|
| public SqlStatement[] generateStatements(Database database) Implements liquibase. Finishes configuring the CustomChange based on the values passed to
| |
| generateStatementsVolatile | back to summary |
|---|---|
| public boolean generateStatementsVolatile(Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Implementation delegates logic to the
| |
| getClassName | back to summary |
|---|---|
| public String getClassName() Returns the name of the custom class set in
| |
| getConfirmationMessage | back to summary |
|---|---|
| public String getConfirmationMessage() Implements liquibase. Return the customChange's
| |
| getCustomChange | back to summary |
|---|---|
| public CustomChange getCustomChange() Return the CustomChange instance created by the call to
| |
| getParams | back to summary |
|---|---|
| public SortedSet Returns the parameters set by
| |
| getParamValue | back to summary |
|---|---|
| public String getParamValue(String key) Get the value of a parameter set by | |
| getSerializableFields | back to summary |
|---|---|
| public Set Overrides liquibase. Implements liquibase. Doc from liquibase. Returns the fields on this change that are serializable.
| |
| getSerializableFieldType | back to summary |
|---|---|
| public LiquibaseSerializable. Overrides liquibase. Implements liquibase.
| |
| getSerializableFieldValue | back to summary |
|---|---|
| public Object getSerializableFieldValue(String field) Overrides liquibase. Implements liquibase.
| |
| getSerializedObjectNamespace | back to summary |
|---|---|
| public String getSerializedObjectNamespace() Overrides liquibase. Implements liquibase.
| |
| load | back to summary |
|---|---|
| public void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException Overrides liquibase. Implements liquibase.
| |
| setClass | back to summary |
|---|---|
| public CustomChangeWrapper setClass(String className) throws CustomChangeException Specify the name of the class to use as the CustomChange and assigns it to | |
| setParam | back to summary |
|---|---|
| public void setParam(String name, String value) Specify a parameter on the CustomChange object to set before executing | |
| supportsRollback | back to summary |
|---|---|
| public boolean supportsRollback(Database database) Overrides liquibase. Implements liquibase. Returns true if the customChange supports rolling back.
| |
| validate | back to summary |
|---|---|
| public ValidationErrors validate(Database database) Overrides liquibase. Implements liquibase. Call the
| |
| warn | back to summary |
|---|---|
| public Warnings warn(Database database) Overrides liquibase. Implements liquibase. Required for the Change interface, but not supported by CustomChanges. Returns an empty Warnings object.
| |