Package liquibase.changeset
Interface ChangeSetService
- All Superinterfaces:
- Plugin
- All Known Implementing Classes:
- StandardChangeSetService
The ChangSetService allows for creation and modification of ChangeSets to be pluggable
 The implemented createChangeSet methods support calls from the Liquibase Core to create
 Change Sets.  Not all ChangeSet constructors are supported at this point.  Those
 constructors will need to be called directly.
- 
Field SummaryFields inherited from interface liquibase.plugin.PluginPRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
- 
Method SummaryModifier 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 databaseChangeLog) Create a change set with the changelogdefault ModifyChangeSetscreateModifyChangeSets(String runWith, String runWithSpool, boolean stripComments) Create the ModifyChangeSets instance which will do the modificationsCreate the ModifyChangeSets instance which will do the modificationsdefault StringgetEndDelimiter(ChangeSet changeSet) Default implementation returns nulldefault StringgetOverrideDelimiter(String endDelimiter) Check for an override for a change-level delimiterdefault BooleangetOverrideStripComments(boolean stripComments) Check for an override for a change-level strip commentsintReturn the plugin prioritydefault BooleangetStripComments(ChangeSet changeSet) Default implementation returns nullvoidmodifyChangeSets(ChangeSet changeSet, ModifyChangeSets modifyChangeSets) Given a change set and a ModifyChangeSets instance, perform the modifications
- 
Method Details- 
getPriorityint getPriority()Return the plugin priority- Returns:
- int
 
- 
createChangeSetChangeSet 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 arguments- Parameters:
- id-
- author-
- alwaysRun-
- runOnChange-
- filePath-
- contextFilter-
- dbmsList-
- runWith-
- runWithSpoolFile-
- runInTransaction-
- quotingStrategy-
- databaseChangeLog-
- Returns:
- ChangeSet
 
- 
createChangeSetChangeSet createChangeSet(String id, String author, boolean alwaysRun, boolean runOnChange, String filePath, String contextFilter, String dbmsList, DatabaseChangeLog databaseChangeLog) Create a change set with the indicated arguments- Parameters:
- id-
- author-
- alwaysRun-
- runOnChange-
- filePath-
- contextFilter-
- dbmsList-
- databaseChangeLog-
- Returns:
- ChangeSet
 
- 
createChangeSetCreate a change set with the changelog- Parameters:
- databaseChangeLog- Construct this change set with the DatabaseChangeLog
- Returns:
- ChangeSet
 
- 
createModifyChangeSetsCreate the ModifyChangeSets instance which will do the modifications- 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
 
- 
createModifyChangeSetsdefault ModifyChangeSets createModifyChangeSets(String runWith, String runWithSpool, boolean stripComments) Create the ModifyChangeSets instance which will do the modifications- Parameters:
- runWith- The runWith value
- runWithSpool- The runWithSpool value
- stripComments- Remove comments from the SQL
- Returns:
- ModifyChangeSets The object which will perform the modifications
 
- 
modifyChangeSetsGiven a change set and a ModifyChangeSets instance, perform the modifications- Parameters:
- changeSet- The change set to modify
- modifyChangeSets- The modifier
 
- 
getOverrideDelimiterCheck for an override for a change-level delimiter- Parameters:
- endDelimiter- The endDelimiter to override
- Returns:
- String The override setting
 
- 
getEndDelimiterDefault implementation returns null- Parameters:
- changeSet- Unused
- Returns:
- null
 
- 
getOverrideStripCommentsCheck for an override for a change-level strip comments- Parameters:
- stripComments- The stripComments to override
- Returns:
- String The override setting
 
- 
getStripCommentsDefault implementation returns null- Parameters:
- changeSet- Unused
 
 
-