org.apache.maven.plugin.coreit
Class ThrowMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.coreit.ThrowMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class ThrowMojo
extends AbstractMojo

"Throw" a parameter into the plugin context, for the "catch" mojo to pickup and process.

Is defined by the goal name:
throw

Field Summary
static String THROWN_PARAMETER
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ThrowMojo()
           
 
Method Summary
 void execute()
           
 String getValue()
           
 void setValue(String value)
           
 
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
 

Field Detail

THROWN_PARAMETER

public static final String THROWN_PARAMETER
See Also:
Constant Field Values
Constructor Detail

ThrowMojo

public ThrowMojo()
Method Detail

setValue

public void setValue(String value)

getValue

public String getValue()

execute

public void execute()
             throws MojoExecutionException
Throws:
MojoExecutionException


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