Package org.svetovid.run
Class SvetovidProcessBuilder
java.lang.Object
org.svetovid.run.SvetovidProcessBuilder
- Direct Known Subclasses:
SvetovidAdminProcessBuilder
,SvetovidJvmProcessBuilder
,SvetovidTerminalProcessBuilder
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSvetovidProcessBuilder
(String... command) SvetovidProcessBuilder
(Path directory) SvetovidProcessBuilder
(Path directory, String... command) SvetovidProcessBuilder
(Path directory, List<String> command) SvetovidProcessBuilder
(List<String> command) -
Method Summary
Modifier and TypeMethodDescriptioncommand()
environment
(String key, String value) environmentRemove
(String key) redirectError
(ProcessBuilder.Redirect destination) redirectError
(Path file) boolean
redirectErrorStream
(boolean redirectErrorStream) redirectInput
(ProcessBuilder.Redirect source) redirectInput
(Path file) redirectOutput
(ProcessBuilder.Redirect destination) redirectOutput
(Path file) start()
-
Field Details
-
builder
-
-
Constructor Details
-
SvetovidProcessBuilder
public SvetovidProcessBuilder() -
SvetovidProcessBuilder
-
SvetovidProcessBuilder
-
SvetovidProcessBuilder
-
SvetovidProcessBuilder
-
SvetovidProcessBuilder
-
-
Method Details
-
command
-
command
-
command
-
environment
-
environment
-
environmentRemove
-
directory
-
directory
-
redirectInput
-
redirectOutput
-
redirectError
-
redirectInput
-
redirectOutput
-
redirectError
-
redirectInput
-
redirectOutput
-
redirectError
-
inheritIO
-
redirectErrorStream
public boolean redirectErrorStream() -
redirectErrorStream
-
effectiveCommand
-
start
- Throws:
IOException
-