public class StatusMuleCommand extends AbstractMuleCommand
Checks the status of Mule Runtime, keeps the exit value so it is accessible from getExitValue().
logger| Constructor and Description |
|---|
StatusMuleCommand(MuleServiceWrapper muleServiceWrapper)
Creates an instance of the command.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Template method for commands.
|
int |
getExitValue() |
org.zeroturnaround.exec.ProcessOutput |
getProcessOutput() |
checkState, createMuleProcessExecutor, createMuleProcessExecutor, createMuleProcessExecutor, execute, getMuleServiceWrapperpublic StatusMuleCommand(MuleServiceWrapper muleServiceWrapper)
muleServiceWrapper - MuleServiceWrapper to execute the command. Non null.protected void doExecute()
throws Exception
AbstractMuleCommanddoExecute in class AbstractMuleCommandExceptionpublic int getExitValue()
int with the exit value for the status command.public org.zeroturnaround.exec.ProcessOutput getProcessOutput()
ProcessOutput of the status command.Copyright © 2023 MuleSoft, Inc.. All rights reserved.