com.google.code.plsqlmaven.oraddl
Class OraDdlMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.groovy.maven.mojo.GroovyMojo
com.google.code.plsqlmaven.oraddl.OraDdlMojo
- All Implemented Interfaces:
- groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- OraDdlExtractMojo, OraDdlPackageMojo, OraDdlSyncMojo
public abstract class OraDdlMojo
- extends org.codehaus.groovy.maven.mojo.GroovyMojo
- implements groovy.lang.GroovyObject
Basic mojo to extend for Oracle DDL 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 |
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
schemaUtils
protected SchemaUtils schemaUtils
- Utilities for schema handling
OraDdlMojo
public OraDdlMojo()
disconnectFromDatabase
public void disconnectFromDatabase()
connectToDatabase
public boolean connectToDatabase()
getSourceDirectory
public String getSourceDirectory()
- Source directory for schema files src/main/schema
path
public String path(Object p)
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.