public abstract class JavaProcessBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JavaProcessBuilder.Defaults |
Modifier and Type | Method and Description |
---|---|
JavaProcessBuilder |
argument(java.lang.Object value) |
java.util.List<java.lang.String> |
arguments() |
JavaProcessBuilder |
arguments(java.lang.Iterable<?> values) |
JavaProcessBuilder |
arguments(java.lang.Object... values) |
static JavaProcessBuilder |
forClass(java.lang.String name) |
static JavaProcessBuilder |
forClass(java.lang.String name,
java.nio.file.Path java) |
static JavaProcessBuilder |
forJar(java.nio.file.Path jar) |
static JavaProcessBuilder |
forJar(java.nio.file.Path jar,
java.nio.file.Path java) |
java.nio.file.Path |
java() |
JavaProcessBuilder |
nonStandardOption(java.lang.String value) |
JavaProcessBuilder |
nonStandardOptions(java.lang.Iterable<java.lang.String> values) |
JavaProcessBuilder |
nonStandardOptions(java.lang.String... values) |
JavaProcessBuilder |
option(java.lang.String value) |
JavaProcessBuilder |
option(java.lang.String name,
java.lang.Object argument) |
java.util.List<java.lang.String> |
options() |
JavaProcessBuilder |
options(java.lang.Iterable<java.lang.String> values) |
JavaProcessBuilder |
options(java.lang.String... values) |
java.lang.Process |
start() |
<E extends java.util.Map.Entry<java.lang.String,?>> |
systemProperties(java.lang.Iterable<E> properties) |
JavaProcessBuilder |
systemProperties(java.util.Map<java.lang.String,?> properties) |
JavaProcessBuilder |
systemProperty(java.util.Map.Entry<java.lang.String,?> property) |
JavaProcessBuilder |
systemProperty(java.lang.String name,
java.lang.Object value) |
java.lang.String |
target() |
java.util.List<java.lang.String> |
toCommand() |
java.lang.ProcessBuilder |
toProcessBuilder() |
java.lang.String |
toString() |
public static JavaProcessBuilder forClass(java.lang.String name)
public static JavaProcessBuilder forClass(java.lang.String name, java.nio.file.Path java)
public static JavaProcessBuilder forJar(java.nio.file.Path jar)
public static JavaProcessBuilder forJar(java.nio.file.Path jar, java.nio.file.Path java)
public JavaProcessBuilder option(java.lang.String value)
public JavaProcessBuilder option(java.lang.String name, java.lang.Object argument)
public JavaProcessBuilder options(java.lang.String... values)
public JavaProcessBuilder options(java.lang.Iterable<java.lang.String> values)
public JavaProcessBuilder nonStandardOption(java.lang.String value)
public JavaProcessBuilder nonStandardOptions(java.lang.String... values)
public JavaProcessBuilder nonStandardOptions(java.lang.Iterable<java.lang.String> values)
public JavaProcessBuilder systemProperty(java.lang.String name, java.lang.Object value)
public JavaProcessBuilder systemProperty(java.util.Map.Entry<java.lang.String,?> property)
public JavaProcessBuilder systemProperties(java.util.Map<java.lang.String,?> properties)
public <E extends java.util.Map.Entry<java.lang.String,?>> JavaProcessBuilder systemProperties(java.lang.Iterable<E> properties)
public JavaProcessBuilder argument(java.lang.Object value)
public JavaProcessBuilder arguments(java.lang.Object... values)
public JavaProcessBuilder arguments(java.lang.Iterable<?> values)
public java.nio.file.Path java()
public java.lang.String target()
public java.util.List<java.lang.String> options()
public java.util.List<java.lang.String> arguments()
public java.util.List<java.lang.String> toCommand()
public java.lang.ProcessBuilder toProcessBuilder()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Process start() throws java.io.IOException
java.io.IOException