|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.cmw.adm.Status
public class Status
A wrapper class for the admin::ServerAdmin::Status enum.
Field Summary | |
---|---|
static int |
GREEN
Everything is fine. |
static int |
RED
A serious problem with the server. |
static int |
YELLOW
Something went wrong, but the server is still operational. |
Constructor Summary | |
---|---|
Status()
|
Method Summary | |
---|---|
static void |
main(String[] args)
For tests. |
static String |
toString(int status)
Returns the string representation of the status. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int GREEN
public static final int YELLOW
public static final int RED
Constructor Detail |
---|
public Status()
Method Detail |
---|
public static String toString(int status)
public static void main(String[] args)
> java cern.cmw.adm.Status mtgAll Server 'mtgAll' is running on host 'dmcrpls' Status: GREEN > java cern.cmw.adm.Status ibsba4 Server 'ibsba4' is down or unreachable > java cern.cmw.adm.Status abba Name not found on name server
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |