|
|||||||||
| 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
| Nested Class Summary | |
|---|---|
static class |
Command.Buffer
|
static class |
Command.Line
|
static class |
Command.SourceType
|
| Constructor Summary | |
|---|---|
Command(String[] execShell,
String cmd,
String[] stopShell,
List<CommandListener> listeners)
|
|
| Method Summary | |
|---|---|
CommandResult |
exec(int timeOut,
String[]... stdins)
|
int |
pid()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Command(String[] execShell,
String cmd,
String[] stopShell,
List<CommandListener> listeners)
| Method Detail |
|---|
public int pid()
public CommandResult exec(int timeOut,
String[]... stdins)
throws InterruptedException,
ExecutionException,
TimeoutException,
IOException
InterruptedException
ExecutionException
TimeoutException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||