public class JavaProcess extends AnyProcess
| Constructor and Description |
|---|
JavaProcess(Process process,
OutputStream pipeStdout,
OutputStream pipeStderr,
InputStream pipeStdin,
boolean collectStdout,
boolean collectStderr,
List<String> command,
File workingDir,
File javaHome,
File javaExecutable,
List<String> jvmArgs,
List<File> classpath,
String mainClass,
List<String> arguments,
Map<String,String> jvmProperties) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getArguments() |
List<File> |
getClasspath() |
File |
getJavaExecutable() |
File |
getJavaHome() |
List<String> |
getJvmArgs() |
Map<String,String> |
getJvmProperties() |
String |
getMainClass() |
static JavaProcessBuilder<? extends JavaProcess> |
newBuilder() |
destroy, exitValue, getCommand, getCommandLine, getCurrentPid, getErrorStream, getFuture, getInputStream, getOutputStream, getPid, getRecordedStderr, getRecordedStderrText, getRecordedStdout, getRecordedStdoutText, getWorkingDirectory, isDestroyed, isRunning, isWindows, onDestroyed, onTerminated, toString, waitFor, waitForTimedestroyForcibly, isAlive, waitForpublic JavaProcess(Process process, OutputStream pipeStdout, OutputStream pipeStderr, InputStream pipeStdin, boolean collectStdout, boolean collectStderr, List<String> command, File workingDir, File javaHome, File javaExecutable, List<String> jvmArgs, List<File> classpath, String mainClass, List<String> arguments, Map<String,String> jvmProperties)
public final File getJavaHome()
public final File getJavaExecutable()
public final String getMainClass()
public static JavaProcessBuilder<? extends JavaProcess> newBuilder()
Copyright © 2020. All rights reserved.