public class JavaCommandBuilder extends Object
Constructor and Description |
---|
JavaCommandBuilder() |
Modifier and Type | Method and Description |
---|---|
JavaCommandBuilder |
arg(String arg) |
List<String> |
build() |
JavaCommandBuilder |
classpath(String classpath) |
JavaCommandBuilder |
classpathFromEnv(String envVarName) |
JavaCommandBuilder |
classpathFromEnv(String envVarName,
Runnable defaultProvider) |
JavaCommandBuilder |
classpathFromPath(String... elements) |
String |
getDefaultJavaWindowsExecutable() |
JavaCommandBuilder |
heap(String heap) |
JavaCommandBuilder |
initialHeap(String heap) |
JavaCommandBuilder |
javaExecutable(String javaExecutable) |
JavaCommandBuilder |
mainClass(String mainClass) |
JavaCommandBuilder |
maxHeap(String heap) |
JavaCommandBuilder |
option(String option) |
JavaCommandBuilder |
options(Collection<String> options) |
JavaCommandBuilder |
optionsFromEnv(String envVarName) |
JavaCommandBuilder |
systemProperty(String key,
String value) |
JavaCommandBuilder |
systemPropertyFromEnv(String key,
String envVarName) |
String |
toCommandLine() |
ProcessBuilder |
toProcessBuilder() |
public ProcessBuilder toProcessBuilder()
public String toCommandLine()
public JavaCommandBuilder javaExecutable(String javaExecutable)
public JavaCommandBuilder mainClass(String mainClass)
public JavaCommandBuilder classpath(String classpath)
public JavaCommandBuilder classpathFromPath(String... elements)
public JavaCommandBuilder classpathFromEnv(String envVarName)
public JavaCommandBuilder classpathFromEnv(String envVarName, Runnable defaultProvider)
public JavaCommandBuilder systemProperty(String key, String value)
public JavaCommandBuilder option(String option)
public JavaCommandBuilder options(Collection<String> options)
public JavaCommandBuilder optionsFromEnv(String envVarName)
public JavaCommandBuilder systemPropertyFromEnv(String key, String envVarName)
public JavaCommandBuilder heap(String heap)
public JavaCommandBuilder initialHeap(String heap)
public JavaCommandBuilder maxHeap(String heap)
public JavaCommandBuilder arg(String arg)
public String getDefaultJavaWindowsExecutable()
Copyright © GigaSpaces.