org.codehaus.gmaven.examples.clean
Class CleanMojo

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by org.codehaus.gmaven.mojo.GroovyMojo
          extended by org.codehaus.gmaven.examples.clean.CleanMojo
All Implemented Interfaces:
groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CleanMojo
extends GroovyMojo
implements groovy.lang.GroovyObject

Cleans build generated output.

Version:
$Id: CleanMojo.groovy 10 2009-07-16 09:23:15Z user57 $

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CleanMojo()
           
 
Method Summary
 void execute()
           
 org.apache.maven.shared.model.fileset.FileSet[] getFilesets()
           
 groovy.lang.MetaClass getMetaClass()
           
 org.apache.maven.project.MavenProject getProject()
           
 Object getProperty(String name)
           
 Object invokeMethod(String name, Object args)
           
 void setFilesets(org.apache.maven.shared.model.fileset.FileSet[] value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProject(org.apache.maven.project.MavenProject value)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class org.codehaus.gmaven.mojo.GroovyMojo
fail, fail, getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CleanMojo

public CleanMojo()
Method Detail

getProject

public org.apache.maven.project.MavenProject getProject()

setProject

public void setProject(org.apache.maven.project.MavenProject value)

getFilesets

public org.apache.maven.shared.model.fileset.FileSet[] getFilesets()

setFilesets

public void setFilesets(org.apache.maven.shared.model.fileset.FileSet[] value)

execute

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

getMetaClass

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

setMetaClass

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

invokeMethod

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

getProperty

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

setProperty

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


Copyright © 2006-2012 Codehaus. All Rights Reserved.