Class ServerStatus
- java.lang.Object
-
- org.neotropic.kuwaiba.northbound.ws.model.application.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 Summary
Fields Modifier and Type Field Description static int
STATUS_DOWN
The server is down, but the webservice is upstatic int
STATUS_MAINTENANCE
The server is down for maintenancestatic int
STATUS_SLOWLESSNESS
Some slowlessness detectedstatic int
STATUS_UP
Up and running like a charm
-
Constructor Summary
Constructors Constructor Description ServerStatus()
ServerStatus(String serverVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatus()
String
getVersion()
void
setStatus(int status)
void
setVersion(String version)
-
-
-
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)
-
-