public enum DiagnosticResults extends Enum<DiagnosticResults>
| Enum Constant and Description | 
|---|
FAILURE
Failure 
 | 
FEATURE_NOT_SUPPORTED
Feature not supported. 
 | 
INVALID_OBJECT
Invalid Object 
 | 
INVALID_VALUE
Invalid value 
 | 
SUCCESS
Success. 
 | 
UNDEFINED
Error code not defined. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDescription()
Returns the description for the error. 
 | 
int | 
getValue()
This method provides integer value assigned to the enum. 
 | 
static DiagnosticResults | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static DiagnosticResults[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final DiagnosticResults SUCCESS
public static final DiagnosticResults FAILURE
public static final DiagnosticResults FEATURE_NOT_SUPPORTED
public static final DiagnosticResults INVALID_VALUE
public static final DiagnosticResults INVALID_OBJECT
public static final DiagnosticResults UNDEFINED
public static DiagnosticResults[] values()
for (DiagnosticResults c : DiagnosticResults.values()) System.out.println(c);
public static DiagnosticResults 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 String getDescription()