org.apache.maven.tools.plugin.util.stubs
Class MojoStub

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.tools.plugin.util.stubs.MojoStub
All Implemented Interfaces:
ContextEnabled, Mojo

public class MojoStub
extends AbstractMojo

Dummy Mojo.

Version:
$Id: MojoStub.java 638333 2008-03-18 11:39:14Z bentmann $
Is defined by the goal name:
dummy

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MojoStub()
           
 
Method Summary
protected  Object clone()
          
 boolean equals(Object obj)
          
 void execute()
          
protected  void finalize()
          
 Log getLog()
          
 Map getPluginContext()
          
 int hashCode()
          
 void setLog(Log log)
          
 void setPluginContext(Map pluginContext)
          
 String toString()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MojoStub

public MojoStub()
Method Detail

getLog

public Log getLog()

Specified by:
getLog in interface Mojo
Overrides:
getLog in class AbstractMojo

getPluginContext

public Map getPluginContext()

Specified by:
getPluginContext in interface ContextEnabled
Overrides:
getPluginContext in class AbstractMojo

setLog

public void setLog(Log log)

Specified by:
setLog in interface Mojo
Overrides:
setLog in class AbstractMojo

setPluginContext

public void setPluginContext(Map pluginContext)

Specified by:
setPluginContext in interface ContextEnabled
Overrides:
setPluginContext in class AbstractMojo

clone

protected Object clone()
                throws CloneNotSupportedException

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

finalize

protected void finalize()
                 throws Throwable

Overrides:
finalize in class Object
Throws:
Throwable

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException

Throws:
MojoExecutionException
MojoFailureException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.