public class ProcessController extends Object
| Modifier and Type | Method and Description |
|---|---|
static ProcessController |
getInstance()
Get instance
|
static void |
setJava(String v)
Set the java path
|
boolean |
start(String home)
Start an instance
|
boolean |
start(String home,
File options)
Start an instance
|
int |
stop(String home)
Stop an instance
|
public static ProcessController getInstance()
public static void setJava(String v)
v - The java pathpublic boolean start(String home)
home - The home directorypublic boolean start(String home, File options)
home - The home directoryoptions - The optionspublic int stop(String home)
home - The home directoryCopyright © 2021 JBoss by Red Hat. All rights reserved.