|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.util.JVMBuilder
public class JVMBuilder
Used to build up launch parameters for a Java virtual machine.
Constructor Summary | |
---|---|
JVMBuilder()
|
Method Summary | |
---|---|
ArgumentListBuilder |
args()
Arguments to the main class. |
ClasspathBuilder |
classpath()
Returns a builder object for creating classpath arguments. |
JVMBuilder |
debug(int port)
Enables the debugger support on the given port. |
Launcher.ProcStarter |
launch(Launcher launcher)
Fills a Launcher.ProcStarter with all the parameters configured by this builder. |
JVMBuilder |
mainClass(Class mainClass)
|
JVMBuilder |
mainClass(String fullyQualifiedClassName)
|
JVMBuilder |
pwd(File pwd)
Sets the current directory for the new JVM. |
JVMBuilder |
pwd(FilePath pwd)
Sets the current directory for the new JVM. |
Map<String,String> |
systemProperties()
|
JVMBuilder |
systemProperties(Map<String,String> props)
|
JVMBuilder |
systemProperty(String key,
String value)
|
ArgumentListBuilder |
toFullArguments()
|
ArgumentListBuilder |
vmopts()
JVM options. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JVMBuilder()
Method Detail |
---|
public ClasspathBuilder classpath()
public JVMBuilder systemProperty(String key, String value)
public Map<String,String> systemProperties()
public JVMBuilder systemProperties(Map<String,String> props)
public ArgumentListBuilder args()
public ArgumentListBuilder vmopts()
public JVMBuilder pwd(FilePath pwd)
public JVMBuilder debug(int port)
public JVMBuilder pwd(File pwd)
public JVMBuilder mainClass(String fullyQualifiedClassName)
public JVMBuilder mainClass(Class mainClass)
public ArgumentListBuilder toFullArguments()
public Launcher.ProcStarter launch(Launcher launcher)
Launcher.ProcStarter
with all the parameters configured by this builder.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |