Package gw.lang.reflect.gs
Enum ReloadResults.ReloadStatus
- java.lang.Object
-
- java.lang.Enum<ReloadResults.ReloadStatus>
-
- gw.lang.reflect.gs.ReloadResults.ReloadStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ReloadResults.ReloadStatus>
- Enclosing class:
- ReloadResults
public static enum ReloadResults.ReloadStatus extends Enum<ReloadResults.ReloadStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_ATTEMPTED
OTHER_ERROR
PARSE_FAILURE
REDEFINE_ERROR
REDEFINE_REJECTED
SUCCESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReloadResults.ReloadStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReloadResults.ReloadStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final ReloadResults.ReloadStatus SUCCESS
-
NOT_ATTEMPTED
public static final ReloadResults.ReloadStatus NOT_ATTEMPTED
-
PARSE_FAILURE
public static final ReloadResults.ReloadStatus PARSE_FAILURE
-
REDEFINE_REJECTED
public static final ReloadResults.ReloadStatus REDEFINE_REJECTED
-
REDEFINE_ERROR
public static final ReloadResults.ReloadStatus REDEFINE_ERROR
-
OTHER_ERROR
public static final ReloadResults.ReloadStatus OTHER_ERROR
-
-
Method Detail
-
values
public static ReloadResults.ReloadStatus[] 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 (ReloadResults.ReloadStatus c : ReloadResults.ReloadStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReloadResults.ReloadStatus 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
-
-