Package org.codehaus.mojo.gwt.shell
Class JavaCommand
- java.lang.Object
-
- org.codehaus.mojo.gwt.shell.JavaCommand
-
public class JavaCommand extends Object
- Since:
- 2.1.0-1
- Author:
- Olivier Lamy
-
-
Constructor Summary
Constructors Constructor Description JavaCommand()
-
Method Summary
-
-
-
Method Detail
-
getMainClass
public String getMainClass()
-
setMainClass
public JavaCommand setMainClass(String mainClass)
-
setClasspath
public JavaCommand setClasspath(List<File> classpath)
-
setArgs
public JavaCommand setArgs(List<String> args)
-
getSystemProperties
public Properties getSystemProperties()
-
setSystemProperties
public JavaCommand setSystemProperties(Properties systemProperties)
-
getEnv
public Properties getEnv()
-
setEnv
public JavaCommand setEnv(Properties env)
-
setJvmArgs
public JavaCommand setJvmArgs(List<String> jvmArgs)
-
getJvm
public String getJvm()
-
setJvm
public JavaCommand setJvm(String jvm)
-
getLog
public org.apache.maven.plugin.logging.Log getLog()
-
setLog
public JavaCommand setLog(org.apache.maven.plugin.logging.Log log)
-
getTimeOut
public int getTimeOut()
-
setTimeOut
public JavaCommand setTimeOut(int timeOut)
-
getClassPathProcessors
public List<ClassPathProcessor> getClassPathProcessors()
-
addClassPathProcessors
public JavaCommand addClassPathProcessors(ClassPathProcessor classPathProcessor)
-
setClassPathProcessors
public JavaCommand setClassPathProcessors(List<ClassPathProcessor> classPathProcessors)
-
setOut
public JavaCommand setOut(org.codehaus.plexus.util.cli.StreamConsumer out)
-
setPrintCommandOnError
public void setPrintCommandOnError(boolean printCommandOnError)
-
addToClasspath
public JavaCommand addToClasspath(File file)
-
addToClasspath
public JavaCommand addToClasspath(Collection<File> elements)
-
prependToClasspath
public JavaCommand prependToClasspath(Collection<File> elements)
-
arg
public JavaCommand arg(String arg)
-
arg
public JavaCommand arg(String arg, String value)
-
arg
public JavaCommand arg(boolean condition, String arg)
-
systemProperty
public JavaCommand systemProperty(String name, String value)
-
environment
public JavaCommand environment(String name, String value)
-
execute
public void execute() throws JavaCommandException- Throws:
JavaCommandException
-
-