org.gcube.informationsystem.glitebridge.resource
Enum Site.ServiceStatusEnum

java.lang.Object
  extended by java.lang.Enum<Site.ServiceStatusEnum>
      extended by org.gcube.informationsystem.glitebridge.resource.Site.ServiceStatusEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Site.ServiceStatusEnum>
Enclosing class:
Site

public static enum Site.ServiceStatusEnum
extends java.lang.Enum<Site.ServiceStatusEnum>

Author:
Luca Frosini (ISTI-CNR)

Enum Constant Summary
CRITICAL
          Critical
OK
          OK
OTHER
          Other
UNKNOWN
          Unknown
WARNING
          Warning
 
Method Summary
static Site.ServiceStatusEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Site.ServiceStatusEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OK

public static final Site.ServiceStatusEnum OK
OK


WARNING

public static final Site.ServiceStatusEnum WARNING
Warning


CRITICAL

public static final Site.ServiceStatusEnum CRITICAL
Critical


UNKNOWN

public static final Site.ServiceStatusEnum UNKNOWN
Unknown


OTHER

public static final Site.ServiceStatusEnum OTHER
Other

Method Detail

values

public static Site.ServiceStatusEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Site.ServiceStatusEnum c : Site.ServiceStatusEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Site.ServiceStatusEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null