Package | Description |
---|---|
hudson.slaves |
Code related to slaves.
|
hudson.util |
Other miscellaneous utility code
|
Modifier and Type | Method and Description |
---|---|
static hudson.remoting.Channel |
Channels.newJVM(String displayName,
TaskListener listener,
FilePath workDir,
ClasspathBuilder classpath,
Map<String,String> systemProperties)
Launches a new JVM with the given classpath and system properties, establish a communication channel,
and return a
Channel to it. |
static hudson.remoting.Channel |
Channels.newJVM(String displayName,
TaskListener listener,
JVMBuilder vmb,
FilePath workDir,
ClasspathBuilder classpath)
Launches a new JVM with the given classpath, establish a communication channel,
and return a
Channel to it. |
Modifier and Type | Method and Description |
---|---|
ClasspathBuilder |
ClasspathBuilder.add(File f)
Adds a single directory or a jar file.
|
ClasspathBuilder |
ClasspathBuilder.add(FilePath f)
Adds a single directory or a jar file.
|
ClasspathBuilder |
ClasspathBuilder.add(String path)
Adds a single directory or a jar file.
|
ClasspathBuilder |
ClasspathBuilder.addAll(FilePath base,
String glob)
Adds all the files that matches the given glob in the directory.
|
ClasspathBuilder |
ClasspathBuilder.addJarOf(Class c)
Adds a jar file that contains the given class.
|
ClasspathBuilder |
JVMBuilder.classpath()
Returns a builder object for creating classpath arguments.
|
Copyright © 2016. All rights reserved.