|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.exec.AbstractExecMojo
org.apache.camel.guice.maven.EmbeddedMojo
public class EmbeddedMojo
Runs a Camel using the
jndi.properties file on the classpath to
way to bootstrap via Guice
| Field Summary | |
|---|---|
protected boolean |
dotAggregationEnabled
Allows the routes from multiple contexts to be aggregated into one DOT file (in addition to the individual files) |
protected boolean |
dotEnabled
Allows the DOT file generation to be disabled |
protected String |
duration
The duration to run the application for which by default is in milliseconds. |
protected String |
outputDirectory
The DOT File name used to generate the DOT diagram of the route definitions |
| Fields inherited from class org.codehaus.mojo.exec.AbstractExecMojo |
|---|
classpathScope, project |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
EmbeddedMojo()
|
|
| Method Summary | |
|---|---|
protected String[] |
createArguments()
|
ClassLoader |
createClassLoader(ClassLoader parent)
|
void |
execute()
This method will run the mojo |
void |
executeWithoutWrapping()
|
List |
getClasspathElements()
|
String |
getDuration()
|
String |
getMainClass()
|
String |
getOutputDirectory()
Getter for property output directory. |
boolean |
isDotAggregationEnabled()
|
boolean |
isDotEnabled()
|
protected void |
runCamel(ClassLoader newLoader)
|
void |
setClasspathElements(List classpathElements)
|
void |
setDotAggregationEnabled(boolean dotAggregationEnabled)
|
void |
setDotEnabled(boolean dotEnabled)
|
void |
setDuration(String duration)
|
void |
setMainClass(String mainClass)
|
void |
setOutputDirectory(String inOutputDirectory)
Setter for the output directory. |
| Methods inherited from class org.codehaus.mojo.exec.AbstractExecMojo |
|---|
collectProjectArtifactsAndClasspath, hasCommandlineArgs, parseCommandlineArgs, registerSourceRoots |
| 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 |
|---|
protected String duration
protected String outputDirectory
protected boolean dotEnabled
protected boolean dotAggregationEnabled
| Constructor Detail |
|---|
public EmbeddedMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void executeWithoutWrapping()
throws MalformedURLException,
ClassNotFoundException,
NoSuchMethodException,
IllegalAccessException,
org.apache.maven.plugin.MojoExecutionException
MalformedURLException
ClassNotFoundException
NoSuchMethodException
IllegalAccessException
org.apache.maven.plugin.MojoExecutionExceptionpublic String getOutputDirectory()
public void setOutputDirectory(String inOutputDirectory)
inOutputDirectory - The value of output directory.public List getClasspathElements()
public void setClasspathElements(List classpathElements)
public boolean isDotEnabled()
public void setDotEnabled(boolean dotEnabled)
public String getDuration()
public void setDuration(String duration)
public boolean isDotAggregationEnabled()
public void setDotAggregationEnabled(boolean dotAggregationEnabled)
public String getMainClass()
public void setMainClass(String mainClass)
protected void runCamel(ClassLoader newLoader)
throws ClassNotFoundException,
NoSuchMethodException,
IllegalAccessException,
org.apache.maven.plugin.MojoExecutionException
ClassNotFoundException
NoSuchMethodException
IllegalAccessException
org.apache.maven.plugin.MojoExecutionExceptionprotected String[] createArguments()
public ClassLoader createClassLoader(ClassLoader parent)
throws MalformedURLException
MalformedURLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||