Package com.dsi.ant.message.fromhost
Enum Class LoadOrStoreEncryptionKeyMessage.Operation
java.lang.Object
java.lang.Enum<LoadOrStoreEncryptionKeyMessage.Operation>
com.dsi.ant.message.fromhost.LoadOrStoreEncryptionKeyMessage.Operation
- All Implemented Interfaces:
Serializable
,Comparable<LoadOrStoreEncryptionKeyMessage.Operation>
,Constable
- Enclosing class:
LoadOrStoreEncryptionKeyMessage
public static enum LoadOrStoreEncryptionKeyMessage.Operation
extends Enum<LoadOrStoreEncryptionKeyMessage.Operation>
The possible operations that can be done.
- Since:
- 4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioncreate
(int rawValue) Creates the Operation from the raw value.int
Gets the raw value of the Operation.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOAD
Loads the key from the index specified- Since:
- 4.0
-
STORE
Stores the key to the index specified- Since:
- 4.0
-
UNKNOWN
Operation is not supported in this version of the API- Since:
- 4.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getRawValue
public int getRawValue()Gets the raw value of the Operation. Applications should use the enumeration values directly.- Returns:
- The raw value
- Since:
- 4.0
-
create
Creates the Operation from the raw value. Applications should use the enumeration values directly.- Parameters:
rawValue
- The raw value.- Returns:
- The Operation that corresponds with the raw value.
- Since:
- 4.0
-