au.net.causal.maven.plugins.boxdb.db.ScriptExecutionBase Maven / Gradle / Ivy
package au.net.causal.maven.plugins.boxdb.db;
public abstract class ScriptExecutionBase
{
private boolean filtering;
private ExecutionMode mode = ExecutionMode.NATIVE;
/**
* Whether resource filtering is applied to SQL script files.
* Defaults to false.
*/
public boolean isFiltering()
{
return filtering;
}
public void setFiltering(boolean filtering)
{
this.filtering = filtering;
}
/**
* Determines whether the script will be executed with JDBC or with the database's native
* script tool.
*/
public ExecutionMode getMode()
{
return mode;
}
public void setMode(ExecutionMode mode)
{
this.mode = mode;
}
}