public void setServerState(ServerState serverState) {
   ServerState oldState = serverInfo.getServerState();
   serverInfo.setServerState(serverState);
   LOGGER.info("Changing server state to " + serverState);
   notifyStateChangeListeners(oldState, serverState);
 }
 public ServerState getServerState() {
   return serverInfo.getServerState();
 }
 public boolean isAvailable() {
   return serverInfo.getErrorMessage() == null
       && serverInfo.getServerState() == ServerState.RUNNING;
 }