public class InstallerGui extends Object implements hudson.remoting.Callable<Void,IOException>
Channel.call(Callable) on a slave,
adds a GUI menu to install the slave as a platform-specific service.| Modifier and Type | Field and Description |
|---|---|
protected hudson.remoting.jnlp.MainDialog |
dialog |
protected hudson.remoting.Engine |
engine |
static LaunchConfiguration |
LAUNCH_CONFIG
LaunchConfiguration that controls what process will be run under the service wrapper
when the slave installation happens through GUI. |
| Constructor and Description |
|---|
InstallerGui(SlaveInstaller installer,
hudson.FilePath slaveRoot,
String jnlpMac) |
InstallerGui(SlaveInstaller installer,
hudson.slaves.SlaveComputer sc) |
protected transient hudson.remoting.Engine engine
protected transient hudson.remoting.jnlp.MainDialog dialog
public static LaunchConfiguration LAUNCH_CONFIG
LaunchConfiguration that controls what process will be run under the service wrapper
when the slave installation happens through GUI.
Conceptually, this can be thought of as a recovered memory of how this slave JVM has been started.
This is "recovered", because we can't really reliably tell from within the slave itself, but
nonetheless it's a piece of information scoped to the slave JVM. Hence singleton.public InstallerGui(SlaveInstaller installer, hudson.slaves.SlaveComputer sc)
public InstallerGui(SlaveInstaller installer, hudson.FilePath slaveRoot, String jnlpMac)
public Void call() throws IOException
call in interface hudson.remoting.Callable<Void,IOException>IOExceptionprotected URL getJnlpUrl() throws MalformedURLException
MalformedURLExceptionCopyright © 2004-2014. All Rights Reserved.