Package de.mhus.lib.basics
Enum RC.STATUS
- java.lang.Object
-
- java.lang.Enum<RC.STATUS>
-
- de.mhus.lib.basics.RC.STATUS
-
- All Implemented Interfaces:
Serializable,Comparable<RC.STATUS>
- Enclosing class:
- RC
public static enum RC.STATUS extends Enum<RC.STATUS>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTEDACCESS_DENIEDBUSYCONFLICTCREATEDERRORFORBIDDENGONEINTERNAL_ERRORLIMITNOT_FOUNDNOT_SUPPORTEDOKSYNTAX_ERRORTEAPOTTIMEOUTTOO_DEEPTOO_LARGEUSAGEWARNINGWARNING_TEMPORARILY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intrc()static RC.STATUSvalueOf(String name)Returns the enum constant of this type with the specified name.static RC.STATUS[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WARNING_TEMPORARILY
public static final RC.STATUS WARNING_TEMPORARILY
-
OK
public static final RC.STATUS OK
-
CREATED
public static final RC.STATUS CREATED
-
ACCEPTED
public static final RC.STATUS ACCEPTED
-
WARNING
public static final RC.STATUS WARNING
-
ERROR
public static final RC.STATUS ERROR
-
ACCESS_DENIED
public static final RC.STATUS ACCESS_DENIED
-
FORBIDDEN
public static final RC.STATUS FORBIDDEN
-
NOT_FOUND
public static final RC.STATUS NOT_FOUND
-
CONFLICT
public static final RC.STATUS CONFLICT
-
GONE
public static final RC.STATUS GONE
-
TOO_LARGE
public static final RC.STATUS TOO_LARGE
-
SYNTAX_ERROR
public static final RC.STATUS SYNTAX_ERROR
-
TEAPOT
public static final RC.STATUS TEAPOT
-
USAGE
public static final RC.STATUS USAGE
-
LIMIT
public static final RC.STATUS LIMIT
-
INTERNAL_ERROR
public static final RC.STATUS INTERNAL_ERROR
-
NOT_SUPPORTED
public static final RC.STATUS NOT_SUPPORTED
-
BUSY
public static final RC.STATUS BUSY
-
TIMEOUT
public static final RC.STATUS TIMEOUT
-
TOO_DEEP
public static final RC.STATUS TOO_DEEP
-
-
Method Detail
-
values
public static RC.STATUS[] 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 (RC.STATUS c : RC.STATUS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RC.STATUS valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
rc
public int rc()
-
-