public enum AugeasErrorCode extends java.lang.Enum<AugeasErrorCode>
Enum Constant and Description |
---|
INTERNAL_ERROR |
LENS_LOOKUP_ERROR |
LENS_SYNTAX_ERROR |
MANY_MATCHES |
MULTIPLE_TRANSFORMS_ERROR |
NO_ERROR |
NO_MATCH |
OUT_OF_MEMORY |
PATH_ERROR |
Modifier and Type | Method and Description |
---|---|
static AugeasErrorCode |
forValue(int value) |
int |
getValue() |
static AugeasErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AugeasErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AugeasErrorCode NO_ERROR
public static final AugeasErrorCode OUT_OF_MEMORY
public static final AugeasErrorCode INTERNAL_ERROR
public static final AugeasErrorCode PATH_ERROR
public static final AugeasErrorCode NO_MATCH
public static final AugeasErrorCode MANY_MATCHES
public static final AugeasErrorCode LENS_SYNTAX_ERROR
public static final AugeasErrorCode LENS_LOOKUP_ERROR
public static final AugeasErrorCode MULTIPLE_TRANSFORMS_ERROR
public static AugeasErrorCode[] values()
for (AugeasErrorCode c : AugeasErrorCode.values()) System.out.println(c);
public static AugeasErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AugeasErrorCode forValue(int value)
public int getValue()