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.
|
RemoteAgent |
start(hudson.Launcher launcher,
hudson.model.TaskListener listener)
Deprecated.
|
RemoteAgent |
start(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath temp)
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.@Deprecated public RemoteAgent start(hudson.Launcher launcher, hudson.model.TaskListener listener) throws Throwable
Throwablepublic RemoteAgent start(hudson.Launcher launcher, hudson.model.TaskListener listener, @CheckForNull hudson.FilePath temp) throws Throwable
launcher - the launcher on which to start a ssh-agent.listener - a listener for any diagnostics.temp - a temporary directory to use; null if unspecifiedThrowable - if the agent cannot be started.Copyright © 2016. All rights reserved.