public class JNRRemoteAgent extends Object implements RemoteAgent
| Constructor and Description |
|---|
JNRRemoteAgent(hudson.model.TaskListener listener)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addIdentity(String privateKey,
String passphrase,
String comment)
Adds the provided identity to the agent.
|
String |
getSocket()
Returns the value that the environment variable should be set to.
|
void |
stop()
Stops the agent.
|
public String getSocket()
getSocket in interface RemoteAgentpublic void addIdentity(String privateKey, String passphrase, String comment) throws IOException
addIdentity in interface RemoteAgentprivateKey - the private key.passphrase - the passphrase or null.comment - the comment to give to the key.IOException - if something went wrong.public void stop()
stop in interface RemoteAgentCopyright © 2004-2015. All Rights Reserved.