public class JavaCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.codehaus.plexus.util.cli.StreamConsumer |
out
A plexus-util StreamConsumer to redirect messages to plugin log
|
| Constructor and Description |
|---|
JavaCommand(JavaCommandRequest javaCommandRequest) |
| Modifier and Type | Method and Description |
|---|---|
JavaCommand |
arg(boolean condition,
String arg) |
JavaCommand |
arg(String arg) |
JavaCommand |
arg(String arg,
String value) |
JavaCommand |
environment(String name,
String value) |
void |
execute() |
JavaCommand |
systemProperty(String name,
String value) |
JavaCommand |
withinClasspath(File... path) |
void |
withinClasspathFirst(File oophmJar) |
JavaCommand |
withinScope(String scope) |
protected org.codehaus.plexus.util.cli.StreamConsumer out
public JavaCommand(JavaCommandRequest javaCommandRequest)
public JavaCommand withinScope(String scope) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic JavaCommand withinClasspath(File... path)
public JavaCommand arg(String arg)
public JavaCommand arg(String arg, String value)
public JavaCommand arg(boolean condition, String arg)
public JavaCommand systemProperty(String name, String value)
public JavaCommand environment(String name, String value)
public void execute()
throws JavaCommandException
JavaCommandExceptionpublic void withinClasspathFirst(File oophmJar)
Copyright © 2007-2014 Codehaus. All Rights Reserved.