@Immutable public interface Shell extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
badge(String name,
String value)
Add a new badge.
|
int |
exec(String command,
InputStream stdin,
OutputStream stdout,
OutputStream stderr)
Exec one command.
|
int exec(@NotNull(message="command can\'t be NULL") String command, @NotNull(message="stdin can\'t be NULL") InputStream stdin, @NotNull(message="stdout can\'t be NULL") OutputStream stdout, @NotNull(message="stderr can\'t be NULL") OutputStream stderr) throws IOException
command
- Command to executestdin
- Input streamstdout
- Output streamstderr
- Error output streamIOException
- If failsCopyright © 2009–2014 Rultor Inc.. All rights reserved.