@Extension public class MinaRemoteAgentFactory extends RemoteAgentFactory
| Constructor and Description |
|---|
MinaRemoteAgentFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
The display name of the factory.
|
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)
Start a ssh-agent on the specified launcher.
|
public String getDisplayName()
getDisplayName in class RemoteAgentFactorypublic boolean isSupported(hudson.Launcher launcher,
hudson.model.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(hudson.Launcher launcher, hudson.model.TaskListener listener) throws Throwable
start in class RemoteAgentFactorylauncher - the launcher on which to start a ssh-agent.listener - a listener for any diagnostics.Throwable - if the agent cannot be started.Copyright © 2004-2014. All Rights Reserved.