Package com.avsystem.anjay
Enum AnjayFirmwareUpdate.Result
- java.lang.Object
-
- java.lang.Enum<AnjayFirmwareUpdate.Result>
-
- com.avsystem.anjay.AnjayFirmwareUpdate.Result
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AnjayFirmwareUpdate.Result>
- Enclosing class:
- AnjayFirmwareUpdate
public static enum AnjayFirmwareUpdate.Result extends java.lang.Enum<AnjayFirmwareUpdate.Result>
Values of the Firmware Update Result resource. See LwM2M specification for details.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION_LOSTFAILEDINITIALINTEGRITY_FAILUREINVALID_URINOT_ENOUGH_SPACEOUT_OF_MEMORYSUCCESSUNSUPPORTED_PACKAGE_TYPEUNSUPPORTED_PROTOCOL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnjayFirmwareUpdate.ResultvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AnjayFirmwareUpdate.Result[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIAL
public static final AnjayFirmwareUpdate.Result INITIAL
-
SUCCESS
public static final AnjayFirmwareUpdate.Result SUCCESS
-
NOT_ENOUGH_SPACE
public static final AnjayFirmwareUpdate.Result NOT_ENOUGH_SPACE
-
OUT_OF_MEMORY
public static final AnjayFirmwareUpdate.Result OUT_OF_MEMORY
-
CONNECTION_LOST
public static final AnjayFirmwareUpdate.Result CONNECTION_LOST
-
INTEGRITY_FAILURE
public static final AnjayFirmwareUpdate.Result INTEGRITY_FAILURE
-
UNSUPPORTED_PACKAGE_TYPE
public static final AnjayFirmwareUpdate.Result UNSUPPORTED_PACKAGE_TYPE
-
INVALID_URI
public static final AnjayFirmwareUpdate.Result INVALID_URI
-
FAILED
public static final AnjayFirmwareUpdate.Result FAILED
-
UNSUPPORTED_PROTOCOL
public static final AnjayFirmwareUpdate.Result UNSUPPORTED_PROTOCOL
-
-
Method Detail
-
values
public static AnjayFirmwareUpdate.Result[] 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 (AnjayFirmwareUpdate.Result c : AnjayFirmwareUpdate.Result.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnjayFirmwareUpdate.Result valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-