org.mule.test.infrastructure.process
Class Controller
java.lang.Object
org.mule.test.infrastructure.process.Controller
- Direct Known Subclasses:
- UnixController, WindowsController
public abstract class Controller
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANCHOR_SUFFIX
protected static final String ANCHOR_SUFFIX
- See Also:
- Constant Field Values
STATUS
protected static final String STATUS
- See Also:
- Constant Field Values
STATUS_PATTERN
protected static final Pattern STATUS_PATTERN
muleHome
protected String muleHome
muleBin
protected String muleBin
domainsDir
protected File domainsDir
appsDir
protected File appsDir
libsDir
protected File libsDir
timeout
protected int timeout
Controller
public Controller(String muleHome,
int timeout)
getMuleBin
public abstract String getMuleBin()
start
public void start(String[] args)
stop
public void stop(String[] args)
status
public abstract int status(String... args)
getProcessId
public abstract int getProcessId()
restart
public void restart(String[] args)
runSync
protected int runSync(String command,
String... args)
doExecution
protected int doExecution(org.apache.commons.exec.DefaultExecutor executor,
org.apache.commons.exec.CommandLine commandLine,
Map<Object,Object> env)
copyEnvironmentVariables
protected Map<Object,Object> copyEnvironmentVariables()
verify
protected void verify(boolean condition,
String message,
Object... args)
deployDomain
protected void deployDomain(String domain)
addLibrary
protected void addLibrary(File jar)
deleteAnchors
protected void deleteAnchors()
deploy
public void deploy(String path)
isRunning
public boolean isRunning()
undeployAll
public void undeployAll()
installLicense
public void installLicense(String path)
uninstallLicense
public void uninstallLicense()
isDeployed
protected boolean isDeployed(String appName)
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.