|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cloudbees.jenkins.plugins.sshagent.mina.MinaRemoteAgent
public class MinaRemoteAgent
An implementation that uses Apache SSH to provide the Agent. This requires Tomcat-Native.
| Constructor Summary | |
|---|---|
MinaRemoteAgent(hudson.model.TaskListener listener)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addIdentity(java.lang.String privateKey,
java.lang.String passphrase,
java.lang.String comment)
Adds the provided identity to the agent. |
java.lang.String |
getSocket()
Returns the value that the environment variable should be set to. |
void |
stop()
Stops the agent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MinaRemoteAgent(hudson.model.TaskListener listener)
throws java.lang.Exception
listener - the listener.
java.lang.Exception - if the agent could not start.| Method Detail |
|---|
public java.lang.String getSocket()
getSocket in interface RemoteAgent
public void addIdentity(java.lang.String privateKey,
java.lang.String passphrase,
java.lang.String comment)
throws java.io.IOException
addIdentity in interface RemoteAgentprivateKey - the private key.passphrase - the passphrase or null.comment - the comment to give to the key.
java.io.IOException - if something went wrong.public void stop()
stop in interface RemoteAgent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||