public abstract class SlaveInstaller extends Object implements Serializable
windows-slave-installer module to install an agent to the service wrapperSlaveInstallerFactory,
Serialized Form| Constructor and Description |
|---|
SlaveInstaller() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.jvnet.localizer.Localizable |
getConfirmationText()
Possibly multi-line text that explains in more details what
install(LaunchConfiguration,Prompter)
would do. |
String |
getDisplayName()
Short one-line human readable name of what this agent installer does.
|
abstract void |
install(LaunchConfiguration params,
Prompter prompter)
Installs the agent as a service, quit the current JVM, and let the newly installed service
spawns and connects as a Jenkins agent.
|
public String getDisplayName()
install(LaunchConfiguration,Prompter) call.public abstract org.jvnet.localizer.Localizable getConfirmationText()
install(LaunchConfiguration,Prompter)
would do. This message should be used by the caller to confirm the user's intention
before actually executing install(LaunchConfiguration,Prompter).
The text needs to be wrapped around 72 chars. No HTML is allowed.public abstract void install(LaunchConfiguration params, Prompter prompter) throws InstallationException, IOException, InterruptedException
Copyright © 2016–2017. All rights reserved.