|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.dakusui.cmd.Command
public class Command
| Method Summary | |
|---|---|
CommandResult |
exec(int timeOut)
Executes this command in a synchronous manner. |
int |
pid()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int pid()
public CommandResult exec(int timeOut)
throws CommandException
timeOut is set to a value less than or equal to zero, this method
does never time out.
Otherwise times out in timeOut milliseconds.
timeOut - duration
CommandException - The command failed during execution.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||