Package com.acumenvelocity.ath.model
Enum FailedStatusResponse.ErrorTypeEnum
- java.lang.Object
-
- java.lang.Enum<FailedStatusResponse.ErrorTypeEnum>
-
- com.acumenvelocity.ath.model.FailedStatusResponse.ErrorTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<FailedStatusResponse.ErrorTypeEnum>
- Enclosing class:
- FailedStatusResponse
public static enum FailedStatusResponse.ErrorTypeEnum extends Enum<FailedStatusResponse.ErrorTypeEnum>
Machine-readable error type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSUFFICIENT_RESOURCESINVALID_FORMATPIPELINE_ERRORTIMEOUTUNKNOWN_ERROR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FailedStatusResponse.ErrorTypeEnumfromValue(String text)StringtoString()static FailedStatusResponse.ErrorTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static FailedStatusResponse.ErrorTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIMEOUT
public static final FailedStatusResponse.ErrorTypeEnum TIMEOUT
-
INVALID_FORMAT
public static final FailedStatusResponse.ErrorTypeEnum INVALID_FORMAT
-
PIPELINE_ERROR
public static final FailedStatusResponse.ErrorTypeEnum PIPELINE_ERROR
-
INSUFFICIENT_RESOURCES
public static final FailedStatusResponse.ErrorTypeEnum INSUFFICIENT_RESOURCES
-
UNKNOWN_ERROR
public static final FailedStatusResponse.ErrorTypeEnum UNKNOWN_ERROR
-
-
Method Detail
-
values
public static FailedStatusResponse.ErrorTypeEnum[] 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 (FailedStatusResponse.ErrorTypeEnum c : FailedStatusResponse.ErrorTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailedStatusResponse.ErrorTypeEnum 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<FailedStatusResponse.ErrorTypeEnum>
-
fromValue
public static FailedStatusResponse.ErrorTypeEnum fromValue(String text)
-
-