public abstract class CmdBuilderBase<B extends CmdBuilderBase<B>> extends Object
| Constructor and Description |
|---|
CmdBuilderBase() |
| Modifier and Type | Method and Description |
|---|---|
B |
arg(Object argument) |
B |
args(Object... arguments) |
B |
destroyForcibly(boolean destroyForcibly) |
B |
destroyOnError(boolean destroyOnError) |
B |
destroyOnShutdown(boolean destroyOnShutdown) |
B |
directory(File directory) |
B |
directory(Path directory) |
B |
environment(String name,
String value) |
B |
executorSupplier(Supplier<Executor> executorSupplier) |
protected B |
getBuilder() |
B |
inheritEnvironment(boolean inheritEnvironment) |
B |
ping(Pingable pingable) |
B |
redirectErrorStream(boolean redirectErrorStream) |
B |
stderr(File stderr) |
B |
stderr(OutputStream stderr) |
B |
stderr(Path stderr) |
B |
stdin(byte[] stdinBytes) |
B |
stdout(File stdout) |
B |
stdout(OutputStream stdout) |
B |
stdout(Path stdout) |
B |
timeout(int duration,
TimeUnit timeUnit) |
B |
timeout(long timeout) |
Cmd |
toCmd() |
CmdSettings |
toCmdSettings() |
B |
withoutEnvironment(String name) |
public B stdout(OutputStream stdout)
public B stderr(OutputStream stderr)
public B redirectErrorStream(boolean redirectErrorStream)
public B stdin(byte[] stdinBytes)
public B inheritEnvironment(boolean inheritEnvironment)
public B timeout(long timeout)
public B destroyOnError(boolean destroyOnError)
public B destroyOnShutdown(boolean destroyOnShutdown)
public B destroyForcibly(boolean destroyForcibly)
public CmdSettings toCmdSettings()
public Cmd toCmd()
protected B getBuilder()
Copyright © 2013–2019 mklinger GmbH. All rights reserved.