Package org.svetovid.run
Class SvetovidAdminProcessBuilder
java.lang.Object
org.svetovid.run.SvetovidProcessBuilder
org.svetovid.run.SvetovidAdminProcessBuilder
-
Field Summary
Fields inherited from class org.svetovid.run.SvetovidProcessBuilder
builder
-
Constructor Summary
ConstructorDescriptionSvetovidAdminProcessBuilder
(String... command) SvetovidAdminProcessBuilder
(Path directory) SvetovidAdminProcessBuilder
(Path directory, String... command) SvetovidAdminProcessBuilder
(Path directory, List<String> command) SvetovidAdminProcessBuilder
(List<String> command) -
Method Summary
Modifier and TypeMethodDescriptioncommand()
command
(SvetovidProcessBuilder builder) environment
(String key, String value) environmentRemove
(String key) static Boolean
isAdmin()
redirectError
(ProcessBuilder.Redirect destination) redirectError
(Path file) redirectErrorStream
(boolean redirectErrorStream) redirectInput
(ProcessBuilder.Redirect source) redirectInput
(Path file) redirectOutput
(ProcessBuilder.Redirect destination) redirectOutput
(Path file) start()
Methods inherited from class org.svetovid.run.SvetovidProcessBuilder
directory, effectiveCommand, environment, redirectError, redirectErrorStream, redirectInput, redirectOutput
-
Constructor Details
-
SvetovidAdminProcessBuilder
public SvetovidAdminProcessBuilder() -
SvetovidAdminProcessBuilder
-
SvetovidAdminProcessBuilder
-
SvetovidAdminProcessBuilder
-
SvetovidAdminProcessBuilder
-
SvetovidAdminProcessBuilder
-
-
Method Details
-
isAdmin
-
command
- Overrides:
command
in classSvetovidProcessBuilder
-
command
- Overrides:
command
in classSvetovidProcessBuilder
-
command
- Overrides:
command
in classSvetovidProcessBuilder
-
command
-
environment
- Overrides:
environment
in classSvetovidProcessBuilder
-
environmentRemove
- Overrides:
environmentRemove
in classSvetovidProcessBuilder
-
directory
- Overrides:
directory
in classSvetovidProcessBuilder
-
redirectInput
- Overrides:
redirectInput
in classSvetovidProcessBuilder
-
redirectOutput
- Overrides:
redirectOutput
in classSvetovidProcessBuilder
-
redirectError
- Overrides:
redirectError
in classSvetovidProcessBuilder
-
redirectInput
- Overrides:
redirectInput
in classSvetovidProcessBuilder
-
redirectOutput
- Overrides:
redirectOutput
in classSvetovidProcessBuilder
-
redirectError
- Overrides:
redirectError
in classSvetovidProcessBuilder
-
inheritIO
- Overrides:
inheritIO
in classSvetovidProcessBuilder
-
redirectErrorStream
- Overrides:
redirectErrorStream
in classSvetovidProcessBuilder
-
start
- Overrides:
start
in classSvetovidProcessBuilder
- Throws:
IOException
-