@Extension public class JNRRemoteAgentFactory extends RemoteAgentFactory
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
JNRRemoteAgentFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
The display name of the factory.
|
boolean |
isSupported(Launcher launcher,
TaskListener listener)
Checks if the supplied launcher is supported by this factory.
|
RemoteAgent |
start(Launcher launcher,
TaskListener listener,
FilePath temp)
Start a ssh-agent on the specified launcher.
|
startpublic String getDisplayName()
getDisplayName in class RemoteAgentFactorypublic boolean isSupported(Launcher launcher, TaskListener listener)
isSupported in class RemoteAgentFactorylauncher - 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 RemoteAgent start(Launcher launcher, TaskListener listener, FilePath temp) throws Throwable
start in class RemoteAgentFactorylauncher - 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–2018. All rights reserved.