public class JavaCommandBuilder extends Object
Constructor and Description |
---|
JavaCommandBuilder() |
public ProcessBuilder toProcessBuilder()
public String toCommandLine()
public JavaCommandBuilder javaExecutable(String javaExecutable)
public JavaCommandBuilder mainClass(String mainClass)
public JavaCommandBuilder classpath(String classpath)
public JavaCommandBuilder classpath(Path path)
public JavaCommandBuilder classpath(Collection<Path> paths)
public JavaCommandBuilder classpathWithJars(Path path)
public JavaCommandBuilder classpathFromEnv(String envVarName)
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 optionsFromGsEnv(String envVarSuffix)
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.