public class Local extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Local.LocalProcess |
| Constructor and Description |
|---|
Local() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning()
Checks if Local instance is running
|
protected Local.LocalProcess |
runCommand(List<String> command)
Executes the supplied command on the shell.
|
void |
start(Map<String,String> options)
Starts Local instance with options
|
void |
stop()
Stops the Local instance
|
public void start(Map<String,String> options) throws Exception
options - Options for the Local instanceExceptionpublic void stop()
throws Exception
InterruptedExceptionExceptionpublic boolean isRunning()
throws Exception
Exceptionprotected Local.LocalProcess runCommand(List<String> command) throws IOException
command - Command to be executed on the shell.Local.LocalProcess for managing the launched process.IOExceptionCopyright © 2017. All rights reserved.