com.stericson.RootTools.execution
Class CommandCapture
java.lang.Object
com.stericson.RootTools.execution.Command
com.stericson.RootTools.execution.CommandCapture
public class CommandCapture
- extends Command
Constructor Summary |
CommandCapture(int id,
boolean handlerEnabled,
java.lang.String... command)
|
CommandCapture(int id,
int timeout,
java.lang.String... command)
|
CommandCapture(int id,
java.lang.String... command)
|
Methods inherited from class com.stericson.RootTools.execution.Command |
commandFinished, finishCommand, getCommand, getExitCode, isExecuting, isFinished, isHandlerEnabled, output, setExitCode, startExecution, terminate, terminated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CommandCapture
public CommandCapture(int id,
java.lang.String... command)
CommandCapture
public CommandCapture(int id,
boolean handlerEnabled,
java.lang.String... command)
CommandCapture
public CommandCapture(int id,
int timeout,
java.lang.String... command)
commandOutput
public void commandOutput(int id,
java.lang.String line)
- Specified by:
commandOutput
in class Command
commandTerminated
public void commandTerminated(int id,
java.lang.String reason)
- Specified by:
commandTerminated
in class Command
commandCompleted
public void commandCompleted(int id,
int exitcode)
- Specified by:
commandCompleted
in class Command
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object