public class JavaCommand extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
JavaCommand(Path jrePath,
int debugPort) |
| Modifier and Type | Method and Description |
|---|---|
JavaCommand |
addArgument(Object argument) |
JavaCommand |
addArguments(Collection<?> arguments) |
JavaCommand |
addArguments(Object argument,
Object... arguments) |
JavaCommand |
addSystemProperty(String key,
Object argument) |
ExitCode |
execute() |
JavaCommand |
setDebug(boolean debug) |
JavaCommand |
setInheritIO(boolean inheritIO) |
JavaCommand |
setJarPath(Path jarPath) |
JavaCommand |
setLogFile(Path logFile) |
protected JavaCommand(Path jrePath, int debugPort)
public JavaCommand setInheritIO(boolean inheritIO)
public JavaCommand setDebug(boolean debug)
public JavaCommand setJarPath(Path jarPath)
public JavaCommand setLogFile(Path logFile)
public JavaCommand addSystemProperty(String key, Object argument)
public JavaCommand addArgument(Object argument)
public JavaCommand addArguments(Object argument, Object... arguments)
public JavaCommand addArguments(Collection<?> arguments)
public ExitCode execute() throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2015 Ifremer. All rights reserved.