liquibase.changelog.ModifyChangeSets Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
The newest version!
package liquibase.changelog;
import liquibase.Scope;
import liquibase.parser.core.ParsedNode;
import liquibase.parser.core.ParsedNodeException;
/**
* Container class to handle the modifyChangeSets tag.
* Other attributes may be added later
*/
public class ModifyChangeSets {
private final String runWith;
private final String runWithSpool;
/**
*
* @param node The ParsedNode to use
*
*/
public ModifyChangeSets(ParsedNode node) throws ParsedNodeException {
this.runWith = (String) node.getChildValue(null, "runWith");
this.runWithSpool = (String) node.getChildValue(null, "runWithSpoolFile");
}
/**
*
* @param runWith The native executor to execute all included change sets with. Can be null
* @param runWithSpool The name of the spool file to be created
*
*/
public ModifyChangeSets(String runWith, String runWithSpool) {
this.runWith = runWith;
this.runWithSpool = runWithSpool;
}
public String getRunWith() {
return runWith;
}
public String getRunWithSpool() {
return runWithSpool;
}
}