public class JavaCommand extends Object
Constructor and Description |
---|
JavaCommand() |
public String getMainClass()
public JavaCommand setMainClass(String mainClass)
public JavaCommand setClasspath(List<File> classpath)
public JavaCommand setArgs(List<String> args)
public Properties getSystemProperties()
public JavaCommand setSystemProperties(Properties systemProperties)
public Properties getEnv()
public JavaCommand setEnv(Properties env)
public JavaCommand setJvmArgs(List<String> jvmArgs)
public String getJvm()
public JavaCommand setJvm(String jvm)
public org.apache.maven.plugin.logging.Log getLog()
public JavaCommand setLog(org.apache.maven.plugin.logging.Log log)
public int getTimeOut()
public JavaCommand setTimeOut(int timeOut)
public List<ClassPathProcessor> getClassPathProcessors()
public JavaCommand addClassPathProcessors(ClassPathProcessor classPathProcessor)
public JavaCommand setClassPathProcessors(List<ClassPathProcessor> classPathProcessors)
public JavaCommand setOut(org.codehaus.plexus.util.cli.StreamConsumer out)
public void setPrintCommandOnError(boolean printCommandOnError)
public JavaCommand addToClasspath(File file)
public JavaCommand addToClasspath(Collection<File> elements)
public JavaCommand prependToClasspath(Collection<File> elements)
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
JavaCommandException
Copyright © 2007–2017 MojoHaus. All rights reserved.