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 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)
Create a change set with the indicated argumentsChangeSet
createChangeSet(String id, String author, boolean alwaysRun, boolean runOnChange, String filePath, String contextFilter, String dbmsList, DatabaseChangeLog databaseChangeLog)
Create a change set with the indicated argumentsChangeSet
createChangeSet(DatabaseChangeLog changeLog)
Create a change set with the changelogModifyChangeSets
createModifyChangeSets(ParsedNode node)
Create the ModifyChangeSets instance which will do the modificationsint
getPriority()
Return the plugin priorityvoid
modifyChangeSets(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:ChangeSetService
Return the plugin priority- Specified by:
getPriority
in interfaceChangeSetService
- Returns:
- int
-
createChangeSet
public ChangeSet createChangeSet(DatabaseChangeLog changeLog)
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
public ModifyChangeSets createModifyChangeSets(ParsedNode node) throws ParsedNodeException
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
public void modifyChangeSets(ChangeSet changeSet, ModifyChangeSets 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
-
-