org.leberrigaud.maven.plugins.database.AbstractDatabaseMojo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of database-maven-plugin Show documentation
Show all versions of database-maven-plugin Show documentation
A maven plugin to create and drop databases and their associated users.
//
// Generated stub from file:/Users/sam/src/github/database-maven-plugin/target/checkout/src/main/groovy/org/leberrigaud/maven/plugins/database/AbstractDatabaseMojo.groovy
//
package org.leberrigaud.maven.plugins.database;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.util.*;
import groovy.lang.*;
import groovy.util.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import groovy.sql.Sql;
import org.codehaus.gmaven.mojo.GroovyMojo;
import org.apache.maven.plugin.MojoFailureException;
/**
*/
abstract public class AbstractDatabaseMojo
extends GroovyMojo
implements groovy.lang.GroovyObject
{
static final private java.lang.Object DB = null;
static final public java.lang.Object getDB() {
throw new InternalError("Stubbed method");
}
/**
* The type of database to connect to
*
* @parameter default-value="mysql"
*/
private java.lang.String database = null;
public java.lang.String getDatabase() {
throw new InternalError("Stubbed method");
}
public void setDatabase(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* The host the database server lives on
*
* @parameter expression="${db.host}" default-value="localhost"
*/
private java.lang.String host = null;
public java.lang.String getHost() {
throw new InternalError("Stubbed method");
}
public void setHost(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* the port on which to access the database via JDBC.
* It has no default value set here, if unassigned it will default to the default port for each DB.
*
* @parameter expression="${db.port}"
*/
private java.lang.String port = null;
public java.lang.String getPort() {
throw new InternalError("Stubbed method");
}
public void setPort(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* The name of the database to create
*
* @parameter default-value="testdb"
*/
private java.lang.String name = null;
public java.lang.String getName() {
throw new InternalError("Stubbed method");
}
public void setName(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* The schema of the database to create
*
* @parameter
*/
private java.lang.String schema = null;
public java.lang.String getSchema() {
throw new InternalError("Stubbed method");
}
public void setSchema(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* The username of the user to associate to the database
*
* @parameter default-value="testuser"
*/
private java.lang.String username = null;
public java.lang.String getUsername() {
throw new InternalError("Stubbed method");
}
public void setUsername(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* The password of the user to associate to the database
*
* @parameter default-value="testpwd"
*/
private java.lang.String password = null;
public java.lang.String getPassword() {
throw new InternalError("Stubbed method");
}
public void setPassword(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* Additional properties one might want to pass when connecting to the database
*
* @parameter
*/
private Map properties = null;
public Map getProperties() {
throw new InternalError("Stubbed method");
}
public void setProperties(Map value) {
throw new InternalError("Stubbed method");
}
/**
* @parameter
*/
private java.lang.String rootUsername = null;
public java.lang.String getRootUsername() {
throw new InternalError("Stubbed method");
}
public void setRootUsername(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* @parameter default-value=""
*/
private java.lang.String rootPassword = null;
public java.lang.String getRootPassword() {
throw new InternalError("Stubbed method");
}
public void setRootPassword(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* @parameter expression="${db.skip}" default-value="false"
*/
private boolean skip = false;
public boolean getSkip() {
throw new InternalError("Stubbed method");
}
public boolean isSkip() {
throw new InternalError("Stubbed method");
}
public void setSkip(boolean value) {
throw new InternalError("Stubbed method");
}
/**
* Whether or not to show passwords when running the plugin in DEBUG mode.
*
* @parameter expression="${db.showPasswords}" default-value="false"
*/
private boolean showPasswords = false;
public boolean getShowPasswords() {
throw new InternalError("Stubbed method");
}
public boolean isShowPasswords() {
throw new InternalError("Stubbed method");
}
public void setShowPasswords(boolean value) {
throw new InternalError("Stubbed method");
}
/**
* @parameter expression="${db.prompt}" default-value="false"
*/
private boolean prompt = false;
public boolean getPrompt() {
throw new InternalError("Stubbed method");
}
public boolean isPrompt() {
throw new InternalError("Stubbed method");
}
public void setPrompt(boolean value) {
throw new InternalError("Stubbed method");
}
public DatabaseConfiguration validate() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkDatabase() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkHost() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkPort() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkName() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkSchema() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkSid() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkUsername() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkPassword() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkRootUsername() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkRootPassword() {
throw new InternalError("Stubbed method");
}
public java.lang.Object checkSysDba() {
throw new InternalError("Stubbed method");
}
private boolean isBatch() {
throw new InternalError("Stubbed method");
}
public java.lang.String prompt(java.lang.String msg, java.lang.String defaultValue) {
throw new InternalError("Stubbed method");
}
public void drop(DatabaseConfiguration config) {
throw new InternalError("Stubbed method");
}
public void create(DatabaseConfiguration config) {
throw new InternalError("Stubbed method");
}
public DatabaseConfiguration adminConfig(final Database db, final DatabaseConfiguration config) {
throw new InternalError("Stubbed method");
}
public Database db() {
throw new InternalError("Stubbed method");
}
public Sql newSql(java.lang.Object db, java.lang.Object config) {
throw new InternalError("Stubbed method");
}
private void executeSql(Sql runner, List sql) {
throw new InternalError("Stubbed method");
}
private void executeSql(Sql runner, List sql, boolean ignoreException) {
throw new InternalError("Stubbed method");
}
public void execute() {
throw new InternalError("Stubbed method");
}
abstract public void doExecute();
public groovy.lang.MetaClass getMetaClass() {
throw new InternalError("Stubbed method");
}
public void setMetaClass(groovy.lang.MetaClass metaClass) {
throw new InternalError("Stubbed method");
}
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
throw new InternalError("Stubbed method");
}
public java.lang.Object getProperty(java.lang.String name) {
throw new InternalError("Stubbed method");
}
public void setProperty(java.lang.String name, java.lang.Object value) {
throw new InternalError("Stubbed method");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy