public enum ObjectStatus extends Enum<ObjectStatus>
Enum Constant and Description |
---|
CRITICAL |
DISABLED |
MAJOR |
MINOR |
NORMAL |
TESTING |
UNKNOWN |
UNMANAGED |
WARNING |
Modifier and Type | Method and Description |
---|---|
static ObjectStatus |
getByValue(int value) |
int |
getValue() |
static ObjectStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectStatus NORMAL
public static final ObjectStatus WARNING
public static final ObjectStatus MINOR
public static final ObjectStatus MAJOR
public static final ObjectStatus CRITICAL
public static final ObjectStatus UNKNOWN
public static final ObjectStatus UNMANAGED
public static final ObjectStatus DISABLED
public static final ObjectStatus TESTING
public static ObjectStatus[] values()
for (ObjectStatus c : ObjectStatus.values()) System.out.println(c);
public static ObjectStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static ObjectStatus getByValue(int value)
value
- Copyright © 2015. All rights reserved.