net.augeas
public class AugeasErrorCode extends Enum<AugeasErrorCode>
Field Summary | |
---|---|
static AugeasErrorCode | INTERNAL_ERROR |
static AugeasErrorCode | LENS_LOOKUP_ERROR |
static AugeasErrorCode | LENS_SYNTAX_ERROR |
static AugeasErrorCode | MANY_MATCHES |
static AugeasErrorCode | MULTIPLE_TRANSFORMS_ERROR |
static AugeasErrorCode | NO_ERROR |
static AugeasErrorCode | NO_MATCH |
static AugeasErrorCode | OUT_OF_MEMORY |
static AugeasErrorCode | PATH_ERROR |
static List<AugeasErrorCode> | VALUES An immutable list containing the values comprising this enum class in the order they're declared. |
Method Summary | |
---|---|
List<AugeasErrorCode> | family() Returns an immutable list containing the values comprising this enum class in the order they're declared. |
static AugeasErrorCode | forValue(int value) |
int | getValue() |
static AugeasErrorCode | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
for(AugeasErrorCode c : AugeasErrorCode.VALUES) System.out.println(c);
VALUES
. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES
.Returns: an immutable list containing the values comprising this enum class, in the order they're declared.
Throws: IllegalArgumentException if this enum class has no constant with the specified name.