|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.cmd.AbstractSendCommandJob
public abstract class AbstractSendCommandJob
An abstract Job implementation
to be scheduled on GerritSendCommandQueue.
| Field Summary | |
|---|---|
protected static org.slf4j.Logger |
logger
An instance of a logger for sub-classes to use. |
| Constructor Summary | |
|---|---|
protected |
AbstractSendCommandJob(GerritConnectionConfig config)
Standard constructor taking the latest configuration. |
| Method Summary | |
|---|---|
GerritConnectionConfig |
getConfig()
Gets the connection config used when sending a command. |
boolean |
sendCommand(String command)
Sends a command to the Gerrit server. |
String |
sendCommandStr(String command)
Sends a command to the Gerrit server, returning the output from the command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Field Detail |
|---|
protected static org.slf4j.Logger logger
| Constructor Detail |
|---|
protected AbstractSendCommandJob(GerritConnectionConfig config)
config - the connection config.| Method Detail |
|---|
public GerritConnectionConfig getConfig()
public boolean sendCommand(String command)
sendCommand in interface GerritCmdRunnercommand - the command.
public String sendCommandStr(String command)
sendCommandStr in interface GerritCmdRunnercommand - the command.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||