com.google.code.plsqlmaven
Class PlSqlMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.groovy.maven.mojo.GroovyMojo
com.google.code.plsqlmaven.PlSqlMojo
- All Implemented Interfaces:
- groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- PlSqlCompileMojo, PlSqlExtractMojo, PlSqlGatewayMojo, PlSqlPackageMojo, PlSqlSqlPlusMojo, PlSqlTemplateMojo, XdbMojo
public abstract class PlSqlMojo
- extends org.codehaus.groovy.maven.mojo.GroovyMojo
- implements groovy.lang.GroovyObject
Basic mojo to extend for PL/SQL Goals
| Fields inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo |
__timeStamp, __timeStamp__239_neverHappen1246685308507, sanitizeErrors |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo |
afterExecute, beforeExecute, fail, fail, getAnt |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
PLSQL_EXTENSION
public Object PLSQL_EXTENSION
username
protected String username
- Database username.
- Since:
- 1.0
password
protected String password
- Database password.
- Since:
- 1.0
url
protected String url
- Database URL.
- Since:
- 1.0
project
protected org.apache.maven.project.MavenProject project
sql
protected groovy.sql.Sql sql
- Database connection helper
PlSqlMojo
public PlSqlMojo()
disconnectFromDatabase
public void disconnectFromDatabase()
connectToDatabase
public boolean connectToDatabase()
getSourceDescriptor
public Object getSourceDescriptor(File source)
getPlsqlSourceFiles
public Object getPlsqlSourceFiles(Object dir)
unpackDependencies
public Object unpackDependencies()
getArtifactPlsqlSourceFiles
public Object getArtifactPlsqlSourceFiles(Object artifact)
get_type_ext
public Object get_type_ext(Object type)
get_dir
public Object get_dir(Object base,
Object name)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject- Overrides:
getMetaClass in class org.codehaus.groovy.maven.mojo.GroovyMojo
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject- Overrides:
setMetaClass in class org.codehaus.groovy.maven.mojo.GroovyMojo
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject- Overrides:
invokeMethod in class org.codehaus.groovy.maven.mojo.GroovyMojo
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject- Overrides:
getProperty in class org.codehaus.groovy.maven.mojo.GroovyMojo
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject- Overrides:
setProperty in class org.codehaus.groovy.maven.mojo.GroovyMojo
Copyright © 2011. All Rights Reserved.