|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.joda.beans.maven.AbstractJodaBeansMojo
public class AbstractJodaBeansMojo
Abstract Joda-Beans Mojo.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractJodaBeansMojo()
|
|
| Method Summary | |
|---|---|
protected List<String> |
buildArgs()
Builds the arguments to the tool. |
void |
execute()
Executes the Joda-Beans generator. |
protected String |
getSourceDir()
Gets the source directory. |
protected URLClassLoader |
obtainClassLoader()
Obtains the classloader from a set of file paths. |
protected List<String> |
obtainClasspath()
Obtains the resolved classpath of dependencies. |
protected int |
runTool(Class<?> toolClass,
List<String> argsList)
Runs the tool. |
| 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 |
| Constructor Detail |
|---|
public AbstractJodaBeansMojo()
| Method Detail |
|---|
protected String getSourceDir()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionprotected List<String> buildArgs()
protected int runTool(Class<?> toolClass,
List<String> argsList)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
toolClass - the tool class, not nullargsList - the argument flags, not null
org.apache.maven.plugin.MojoExecutionException - if an error occurs
org.apache.maven.plugin.MojoFailureException - if a failure occurs
protected URLClassLoader obtainClassLoader()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected List<String> obtainClasspath()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||