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
-
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 modificationsint
Return the plugin priorityvoid
modifyChangeSets
(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, wait
Methods 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:ChangeSetService
Return the plugin priority- Specified by:
getPriority
in interfaceChangeSetService
- Returns:
- int
-
createChangeSet
Description copied from interface:ChangeSetService
Create a change set with the changelog- Specified by:
createChangeSet
in 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:ChangeSetService
Create a change set with the indicated arguments- Specified by:
createChangeSet
in 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:ChangeSetService
Create a change set with the indicated arguments- Specified by:
createChangeSet
in interfaceChangeSetService
- Returns:
- ChangeSet
-
createModifyChangeSets
Description copied from interface:ChangeSetService
Create the ModifyChangeSets instance which will do the modifications- Specified by:
createModifyChangeSets
in 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:ChangeSetService
Given a change set and a ModifyChangeSets instance, perform the modifications- Specified by:
modifyChangeSets
in interfaceChangeSetService
- Parameters:
changeSet
- The change set to modifymodifyChangeSets
- The modifier
-