org.terracotta.ipceventbus.proc
Class JavaProcess
java.lang.Object
java.lang.Process
org.terracotta.ipceventbus.proc.AnyProcess
org.terracotta.ipceventbus.proc.JavaProcess
- Direct Known Subclasses:
- EventJavaProcess
public class JavaProcess
- extends AnyProcess
- Author:
- Mathieu Carbou
|
Constructor Summary |
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)
|
| Methods inherited from class org.terracotta.ipceventbus.proc.AnyProcess |
destroy, exitValue, getCommand, getCommandLine, getCurrentPid, getErrorStream, getFuture, getInputStream, getOutputStream, getPid, getRecordedStderr, getRecordedStderrText, getRecordedStdout, getRecordedStdoutText, getWorkingDirectory, isDestroyed, isRunning, isWindows, onDestroyed, onTerminated, toString, waitFor, waitForTime |
JavaProcess
public 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)
getJvmProperties
public final Map<String,String> getJvmProperties()
getJavaHome
public final File getJavaHome()
getJavaExecutable
public final File getJavaExecutable()
getJvmArgs
public final List<String> getJvmArgs()
getClasspath
public final List<File> getClasspath()
getMainClass
public final String getMainClass()
getArguments
public final List<String> getArguments()
newBuilder
public static JavaProcessBuilder<? extends JavaProcess> newBuilder()
Copyright © 2015. All rights reserved.