Package hudson.util
Class JVMBuilder
java.lang.Object
hudson.util.JVMBuilder
- All Implemented Interfaces:
Serializable
Used to build up launch parameters for a Java virtual machine.
- Since:
- 1.361
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionargs()
Arguments to the main class.Returns a builder object for creating classpath arguments.debug
(int port) Enables the debugger support on the given port.Fills aLauncher.ProcStarter
with all the parameters configured by this builder.Sets the current directory for the new JVM.Sets the current directory for the new JVM.systemProperties
(Map<String, String> props) systemProperty
(String key, String value) vmopts()
JVM options.
-
Constructor Details
-
JVMBuilder
public JVMBuilder()
-
-
Method Details
-
classpath
Returns a builder object for creating classpath arguments. -
systemProperty
-
systemProperties
-
systemProperties
-
args
Arguments to the main class. -
vmopts
JVM options. -
pwd
Sets the current directory for the new JVM. -
debug
Enables the debugger support on the given port. -
pwd
Sets the current directory for the new JVM. This overloaded version only makes sense when you are launching JVM locally. -
mainClass
-
mainClass
-
toFullArguments
-
launch
Fills aLauncher.ProcStarter
with all the parameters configured by this builder.
-