Class ServerStatusSwitch
- java.lang.Object
-
- org.jboss.hal.client.runtime.server.ServerStatusSwitch
-
public abstract class ServerStatusSwitch extends Object implements Consumer<Server>
Function used to evaluate the server(-config) status. Implemented in a central place to ensure the right order of theif-then-elsestatements.The order when comparing the server(-config) status should be:
- pending
- boot errors
- failed
- admin mode
- starting
- suspended
- needs reload
- needs restart
- running
- stopped
- unknown
-
-
Constructor Summary
Constructors Constructor Description ServerStatusSwitch(ServerActions serverActions)
-
-
-
Constructor Detail
-
ServerStatusSwitch
public ServerStatusSwitch(ServerActions serverActions)
-
-