@Service public class DefaultMuleStatusService extends Object implements MuleStatusService
| Constructor and Description |
|---|
DefaultMuleStatusService() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkStopped(Path muleLocation)
Checks whether a Mule Runtime distribution is stopped.
|
protected String |
executeQueryStatusCommand(String[] command) |
protected String |
getEnvVariable(String envVariableName) |
protected Path |
getMuleBinaryPath() |
public void checkStopped(Path muleLocation) throws IOException
checkStopped in interface MuleStatusServicemuleLocation - a MuleDistribution object.IllegalStateException - if Mule runtime is running.IOException - if there's any issue while interacting with the mule binary.protected Path getMuleBinaryPath()
protected String executeQueryStatusCommand(String[] command) throws IOException
IOExceptionCopyright © 2022 MuleSoft, Inc.. All rights reserved.