updateEngine(EnumSet.of(ServerStatus.STOPPED), "The " + getEngine().getName() + " is stopped.");
}
@Override
protected void updateEngineStatusWhenCancelled() {
ServerStatus status = wasRunning ? ServerStatus.RUNNING : ServerStatus.UNDEFINED;
getEngine().setStatus(EnumSet.of(status));
}