com.pax.dal.entity
Enum PollingResult.EOperationType
- java.lang.Object
-
- java.lang.Enum<PollingResult.EOperationType>
-
- com.pax.dal.entity.PollingResult.EOperationType
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PollingResult.EOperationType>
- Enclosing class:
- PollingResult
public static enum PollingResult.EOperationType extends java.lang.Enum<PollingResult.EOperationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description CANCEL取消cancelDEFAULTOK成功successPAUSEDeprecated.TIMEOUT超时timeout
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static PollingResult.EOperationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PollingResult.EOperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final PollingResult.EOperationType OK
成功success
-
TIMEOUT
public static final PollingResult.EOperationType TIMEOUT
超时timeout
-
CANCEL
public static final PollingResult.EOperationType CANCEL
取消cancel
-
PAUSE
public static final PollingResult.EOperationType PAUSE
Deprecated.暂停PAUSE
-
DEFAULT
public static final PollingResult.EOperationType DEFAULT
-
-
Method Detail
-
values
public static PollingResult.EOperationType[] 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 (PollingResult.EOperationType c : PollingResult.EOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PollingResult.EOperationType 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
-
-