public interface ShellCommand
| Modifier and Type | Field and Description |
|---|---|
static Integer |
STATUS_DESTROYED |
static Integer |
STATUS_FAILED |
| Modifier and Type | Method and Description |
|---|---|
Fifo<String> |
commands() |
ShellCommand |
commands(String... text) |
String |
directory() |
ShellCommand |
directory(String directory) |
String |
owner() |
ShellCommand |
owner(String owner) |
ShellSession |
run(SuccessHandler<ShellSession> callback,
ArgumentProcessor processor)
Starts the command; returns a future and accepts a callback.
|
static final Integer STATUS_DESTROYED
static final Integer STATUS_FAILED
String owner()
Fifo<String> commands()
String directory()
ShellCommand owner(String owner)
ShellCommand directory(String directory)
ShellCommand commands(String... text)
ShellSession run(SuccessHandler<ShellSession> callback, ArgumentProcessor processor)
callback - - optional success handler, to allow pushing work forwardprocessor - - optional argument handler, to manipulate the command being run.ShellSession future, for platforms that can afford to block on results.Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.