|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.synergy.impl.Command
hudson.plugins.synergy.impl.StartCommand
public class StartCommand
A start session command. A start session command returns the CCM_ADDR to use for the following commands.
| Constructor Summary | |
|---|---|
StartCommand(java.lang.String database,
java.lang.String engine,
java.lang.String login,
java.lang.String password,
boolean remoteClient,
java.lang.String pathName)
Builds a start session command. |
|
| Method Summary | |
|---|---|
void |
addCcmAddrToSessionMapFile(hudson.FilePath ccmSessionMapFile)
|
java.lang.String[] |
buildCommand(java.lang.String ccmAddr)
Return the Synergy command line to execute as an array. |
boolean[] |
buildMask()
Build a mask of values in the command line that should not be logged. |
java.lang.String |
getCcmAddr()
|
boolean |
isStatusOK(int status)
Return true if the given return status is ok for the command. |
void |
parseResult(java.lang.String result)
Parse the command result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StartCommand(java.lang.String database,
java.lang.String engine,
java.lang.String login,
java.lang.String password,
boolean remoteClient,
java.lang.String pathName)
database - The database pathlogin - The user loginpassword - The user passwordremoteClient - Use remote client flag| Method Detail |
|---|
public java.lang.String[] buildCommand(java.lang.String ccmAddr)
Command
buildCommand in class Commandpublic boolean[] buildMask()
Command
buildMask in class Commandpublic void parseResult(java.lang.String result)
Command
parseResult in class Commandpublic java.lang.String getCcmAddr()
public boolean isStatusOK(int status)
Command
isStatusOK in class Command
public void addCcmAddrToSessionMapFile(hudson.FilePath ccmSessionMapFile)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||