Package org.dogtagpki.tps.msg
Enum TPSMessage.OpType
- java.lang.Object
-
- java.lang.Enum<TPSMessage.OpType>
-
- org.dogtagpki.tps.msg.TPSMessage.OpType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TPSMessage.OpType>
- Enclosing class:
- TPSMessage
public static enum TPSMessage.OpType extends java.lang.Enum<TPSMessage.OpType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OP_ENROLL
OP_FORMAT
OP_RENEW
OP_RESET_PIN
OP_UNBLOCK
OP_UNDEFINED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TPSMessage.OpType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TPSMessage.OpType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OP_ENROLL
public static final TPSMessage.OpType OP_ENROLL
-
OP_UNBLOCK
public static final TPSMessage.OpType OP_UNBLOCK
-
OP_RESET_PIN
public static final TPSMessage.OpType OP_RESET_PIN
-
OP_RENEW
public static final TPSMessage.OpType OP_RENEW
-
OP_FORMAT
public static final TPSMessage.OpType OP_FORMAT
-
OP_UNDEFINED
public static final TPSMessage.OpType OP_UNDEFINED
-
-
Method Detail
-
values
public static TPSMessage.OpType[] 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 (TPSMessage.OpType c : TPSMessage.OpType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TPSMessage.OpType 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
-
-