Class ServerStatus

  • All Implemented Interfaces:
    Serializable

    public class ServerStatus
    extends Object
    implements Serializable
    It's the public server status
    Author:
    Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
    See Also:
    Serialized Form
    • Field Detail

      • STATUS_UP

        public static final int STATUS_UP
        Up and running like a charm
        See Also:
        Constant Field Values
      • STATUS_SLOWLESSNESS

        public static final int STATUS_SLOWLESSNESS
        Some slowlessness detected
        See Also:
        Constant Field Values
      • STATUS_MAINTENANCE

        public static final int STATUS_MAINTENANCE
        The server is down for maintenance
        See Also:
        Constant Field Values
      • STATUS_DOWN

        public static final int STATUS_DOWN
        The server is down, but the webservice is up
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServerStatus

        public ServerStatus()
      • ServerStatus

        public ServerStatus​(String serverVersion)
    • Method Detail

      • getVersion

        public String getVersion()
      • setVersion

        public void setVersion​(String version)
      • getStatus

        public int getStatus()
      • setStatus

        public void setStatus​(int status)