Package liquibase.changeset
Class StandardChangeSetService
- java.lang.Object
-
- liquibase.changeset.StandardChangeSetService
-
- All Implemented Interfaces:
ChangeSetService,Plugin
public class StandardChangeSetService extends Object implements ChangeSetService
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 Constructor Description StandardChangeSetService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeSetcreateChangeSet(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 argumentsChangeSetcreateChangeSet(String id, String author, boolean alwaysRun, boolean runOnChange, String filePath, String contextFilter, String dbmsList, DatabaseChangeLog databaseChangeLog)Create a change set with the indicated argumentsChangeSetcreateChangeSet(DatabaseChangeLog changeLog)Create a change set with the changelogModifyChangeSetscreateModifyChangeSets(ParsedNode node)Create the ModifyChangeSets instance which will do the modificationsintgetPriority()Return the plugin priorityvoidmodifyChangeSets(ChangeSet changeSet, ModifyChangeSets modifyChangeSets)Given a change set and a ModifyChangeSets instance, perform the modifications-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface liquibase.changeset.ChangeSetService
getEndDelimiter, getOverrideDelimiter
-
-
-
-
Method Detail
-
getPriority
public int getPriority()
Description copied from interface:ChangeSetServiceReturn the plugin priority- Specified by:
getPriorityin interfaceChangeSetService- Returns:
- int
-
createChangeSet
public ChangeSet createChangeSet(DatabaseChangeLog changeLog)
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
public ModifyChangeSets createModifyChangeSets(ParsedNode node) throws ParsedNodeException
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
public void modifyChangeSets(ChangeSet changeSet, ModifyChangeSets 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
-
-