All Downloads are FREE. Search and download functionalities are using the official Maven repository.

au.net.causal.maven.plugins.boxdb.db.ScriptExecutionBase Maven / Gradle / Ivy

There is a newer version: 3.3
Show newest version
package au.net.causal.maven.plugins.boxdb.db;

public abstract class ScriptExecutionBase
{
    private boolean filtering;
    private ExecutionMode mode = ExecutionMode.NATIVE;

    /**
     * @return 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;
    }

    /**
     * @return 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy