com.google.code.plsqlmaven.plsql
Class PlSqlDropRemovedMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.groovy.maven.mojo.GroovyMojo
          extended by com.google.code.plsqlmaven.plsql.PlSqlMojo
              extended by com.google.code.plsqlmaven.plsql.PlSqlDropRemovedMojo
All Implemented Interfaces:
groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class PlSqlDropRemovedMojo
extends PlSqlMojo
implements groovy.lang.GroovyObject

Compare two different project trees and produce the DDL to drop objects found in the current project and not in the -Dto project


Field Summary
static Object changes
           
protected  String to
          Maven project (directory) to compare with the current project
 
Fields inherited from class com.google.code.plsqlmaven.plsql.PlSqlMojo
defaultPage, dropForceTypes, password, PLSQL_EXTENSION, project, sql, url, username
 
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
 
Constructor Summary
PlSqlDropRemovedMojo()
           
 
Method Summary
 void execute()
           
 org.apache.maven.plugin.logging.Log getLog()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String name)
           
 Object invokeMethod(String name, Object args)
           
 Object reorder(Object changes)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class com.google.code.plsqlmaven.plsql.PlSqlMojo
compile, connectToDatabase, disconnectFromDatabase, get_dir, getArtifactPlsqlSourceFiles, getPlsqlSourceFiles, getPlsqlUtils, getSourceDescriptor, getTemplate, path, path2, sid, unpackDependencies
 
Methods inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo
afterExecute, beforeExecute, fail, fail, getAnt
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

to

protected String to
Maven project (directory) to compare with the current project

Since:
1.9

changes

public static Object changes
Constructor Detail

PlSqlDropRemovedMojo

public PlSqlDropRemovedMojo()
Method Detail

execute

public void execute()
Specified by:
execute in interface org.apache.maven.plugin.Mojo

getLog

public org.apache.maven.plugin.logging.Log getLog()
Specified by:
getLog in interface org.apache.maven.plugin.Mojo
Overrides:
getLog in class org.apache.maven.plugin.AbstractMojo

reorder

public Object reorder(Object changes)

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject
Overrides:
getMetaClass in class PlSqlMojo

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject
Overrides:
setMetaClass in class PlSqlMojo

invokeMethod

public Object invokeMethod(String name,
                           Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject
Overrides:
invokeMethod in class PlSqlMojo

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface groovy.lang.GroovyObject
Overrides:
getProperty in class PlSqlMojo

setProperty

public void setProperty(String name,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject
Overrides:
setProperty in class PlSqlMojo


Copyright © 2012. All Rights Reserved.