public class JavaCommand extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
JavaCommand(Path javaCommand,
int debugPort) |
| Modifier and Type | Method and Description |
|---|---|
JavaCommand |
addArgument(Object argument) |
JavaCommand |
addArguments(Collection<?> arguments) |
JavaCommand |
addArguments(Object argument,
Object... arguments) |
ExitCode |
execute() |
JavaCommand |
setDebug(boolean debug) |
JavaCommand |
setInheritIO(boolean inheritIO) |
JavaCommand |
setJarPath(Path jarPath) |
JavaCommand |
setLogFile(Path logFile) |
protected JavaCommand(Path javaCommand, int debugPort)
public JavaCommand setInheritIO(boolean inheritIO)
public JavaCommand setDebug(boolean debug)
public JavaCommand setJarPath(Path jarPath)
public JavaCommand setLogFile(Path logFile)
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.