public abstract class RemoteAgentFactory extends Object implements hudson.ExtensionPoint
| Constructor and Description |
|---|
RemoteAgentFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getDisplayName()
The display name of the factory.
|
abstract boolean |
isSupported(hudson.Launcher launcher,
hudson.model.TaskListener listener)
Checks if the supplied launcher is supported by this factory.
|
abstract RemoteAgent |
start(hudson.Launcher launcher,
hudson.model.TaskListener listener)
Start a ssh-agent on the specified launcher.
|
public abstract String getDisplayName()
public abstract boolean isSupported(hudson.Launcher launcher,
hudson.model.TaskListener listener)
launcher - the launcher on which the factory would be asked to start a ssh-agent.listener - a listener in case any user diagnostics are to be printed.false if the factory does not want to try and start an ssh-agent on the launcher.public abstract RemoteAgent start(hudson.Launcher launcher, hudson.model.TaskListener listener) throws Throwable
launcher - the launcher on which to start a ssh-agent.listener - a listener for any diagnostics.Throwable - if the agent cannot be started.Copyright © 2004-2015. All Rights Reserved.