Package liquibase.changeset
Class StandardChangeSetService
java.lang.Object
liquibase.changeset.StandardChangeSetService
- All Implemented Interfaces:
ChangeSetService,Plugin
The standard OSS implementation of the ChangeSetService
-
Field Summary
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateChangeSet(String id, String author, boolean alwaysRun, boolean runOnChange, String filePath, String contextFilter, String dbmsList, String runWith, String runWithSpoolFile, boolean runInTransaction, ObjectQuotingStrategy quotingStrategy, DatabaseChangeLog databaseChangeLog) Create a change set with the indicated argumentscreateChangeSet(String id, String author, boolean alwaysRun, boolean runOnChange, String filePath, String contextFilter, String dbmsList, DatabaseChangeLog databaseChangeLog) Create a change set with the indicated argumentscreateChangeSet(DatabaseChangeLog changeLog) Create a change set with the changelogCreate the ModifyChangeSets instance which will do the modificationsintReturn the plugin priorityvoidmodifyChangeSets(ChangeSet changeSet, ModifyChangeSets modifyChangeSets) Given a change set and a ModifyChangeSets instance, perform the modificationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface liquibase.changeset.ChangeSetService
createModifyChangeSets, getEndDelimiter, getOverrideDelimiter, getOverrideStripComments, getStripComments
-
Constructor Details
-
StandardChangeSetService
public StandardChangeSetService()
-
-
Method Details
-
getPriority
public int getPriority()Description copied from interface:ChangeSetServiceReturn the plugin priority- Specified by:
getPriorityin interfaceChangeSetService- Returns:
- int
-
createChangeSet
Description copied from interface:ChangeSetServiceCreate a change set with the changelog- Specified by:
createChangeSetin interfaceChangeSetService- Parameters:
changeLog- Construct this change set with the DatabaseChangeLog- Returns:
- ChangeSet
-
createChangeSet
public ChangeSet createChangeSet(String id, String author, boolean alwaysRun, boolean runOnChange, String filePath, String contextFilter, String dbmsList, DatabaseChangeLog databaseChangeLog) Description copied from interface:ChangeSetServiceCreate a change set with the indicated arguments- Specified by:
createChangeSetin interfaceChangeSetService- Returns:
- ChangeSet
-
createChangeSet
public ChangeSet createChangeSet(String id, String author, boolean alwaysRun, boolean runOnChange, String filePath, String contextFilter, String dbmsList, String runWith, String runWithSpoolFile, boolean runInTransaction, ObjectQuotingStrategy quotingStrategy, DatabaseChangeLog databaseChangeLog) Description copied from interface:ChangeSetServiceCreate a change set with the indicated arguments- Specified by:
createChangeSetin interfaceChangeSetService- Returns:
- ChangeSet
-
createModifyChangeSets
Description copied from interface:ChangeSetServiceCreate the ModifyChangeSets instance which will do the modifications- Specified by:
createModifyChangeSetsin interfaceChangeSetService- Parameters:
node- The ParsedNode that was created during load- Returns:
- ModifyChangeSets The object which will perform the modifications
- Throws:
ParsedNodeException- Thrown if unable to access values from the node
-
modifyChangeSets
Description copied from interface:ChangeSetServiceGiven a change set and a ModifyChangeSets instance, perform the modifications- Specified by:
modifyChangeSetsin interfaceChangeSetService- Parameters:
changeSet- The change set to modifymodifyChangeSets- The modifier
-