public abstract class AbstractOSController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
MULE_EE_SERVICE_NAME |
protected static String |
MULE_SERVICE_NAME |
protected String |
muleAppLongName |
protected String |
muleAppName |
protected String |
muleBin |
protected String |
muleHome |
protected static String |
STATUS |
protected static Pattern |
STATUS_PATTERN |
protected int |
timeout |
| Constructor and Description |
|---|
AbstractOSController(String muleHome,
int timeout) |
AbstractOSController(String muleHome,
int timeout,
String locationSuffix) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Object,Object> |
copyEnvironmentVariables() |
protected int |
doExecution(org.apache.commons.exec.DefaultExecutor executor,
org.apache.commons.exec.CommandLine commandLine,
Map<Object,Object> env) |
String |
getMuleAppName() |
abstract String |
getMuleBin() |
String |
getMuleHome() |
abstract int |
getProcessId() |
void |
restart(String... args) |
protected int |
runSync(String command,
String... args) |
void |
start(String... args) |
abstract int |
status(String... args) |
int |
stop(String... args) |
protected static final String STATUS
protected static final Pattern STATUS_PATTERN
protected static final String MULE_SERVICE_NAME
protected static final String MULE_EE_SERVICE_NAME
protected final String muleHome
protected final String muleAppName
protected final String muleAppLongName
protected final String muleBin
protected final int timeout
public AbstractOSController(String muleHome, int timeout)
public String getMuleHome()
public abstract String getMuleBin()
public void start(String... args)
public int stop(String... args)
public abstract int status(String... args)
public abstract int getProcessId()
public String getMuleAppName()
public void restart(String... args)
protected int doExecution(org.apache.commons.exec.DefaultExecutor executor,
org.apache.commons.exec.CommandLine commandLine,
Map<Object,Object> env)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.