Package org.gearman.common
Enum GearmanPacket.DataComponentName
- java.lang.Object
-
- java.lang.Enum<GearmanPacket.DataComponentName>
-
- org.gearman.common.GearmanPacket.DataComponentName
-
- All Implemented Interfaces:
Serializable
,Comparable<GearmanPacket.DataComponentName>
- Enclosing interface:
- GearmanPacket
public static enum GearmanPacket.DataComponentName extends Enum<GearmanPacket.DataComponentName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_ID
DATA
DAY_OF_MONTH
DAY_OF_WEEK
DENOMINATOR
EPOCH
ERROR_CODE
ERROR_TEXT
FUNCTION_NAME
HOUR
JOB_HANDLE
KNOWN_STATUS
MINUTE
MONTH
NUMERATOR
OPTION
RUNNING_STATUS
TIME_OUT
UNIQUE_ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GearmanPacket.DataComponentName
valueOf(String name)
Returns the enum constant of this type with the specified name.static GearmanPacket.DataComponentName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FUNCTION_NAME
public static final GearmanPacket.DataComponentName FUNCTION_NAME
-
UNIQUE_ID
public static final GearmanPacket.DataComponentName UNIQUE_ID
-
MINUTE
public static final GearmanPacket.DataComponentName MINUTE
-
HOUR
public static final GearmanPacket.DataComponentName HOUR
-
DAY_OF_MONTH
public static final GearmanPacket.DataComponentName DAY_OF_MONTH
-
MONTH
public static final GearmanPacket.DataComponentName MONTH
-
DAY_OF_WEEK
public static final GearmanPacket.DataComponentName DAY_OF_WEEK
-
EPOCH
public static final GearmanPacket.DataComponentName EPOCH
-
JOB_HANDLE
public static final GearmanPacket.DataComponentName JOB_HANDLE
-
OPTION
public static final GearmanPacket.DataComponentName OPTION
-
KNOWN_STATUS
public static final GearmanPacket.DataComponentName KNOWN_STATUS
-
RUNNING_STATUS
public static final GearmanPacket.DataComponentName RUNNING_STATUS
-
NUMERATOR
public static final GearmanPacket.DataComponentName NUMERATOR
-
DENOMINATOR
public static final GearmanPacket.DataComponentName DENOMINATOR
-
TIME_OUT
public static final GearmanPacket.DataComponentName TIME_OUT
-
DATA
public static final GearmanPacket.DataComponentName DATA
-
ERROR_CODE
public static final GearmanPacket.DataComponentName ERROR_CODE
-
ERROR_TEXT
public static final GearmanPacket.DataComponentName ERROR_TEXT
-
CLIENT_ID
public static final GearmanPacket.DataComponentName CLIENT_ID
-
-
Method Detail
-
values
public static GearmanPacket.DataComponentName[] 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 (GearmanPacket.DataComponentName c : GearmanPacket.DataComponentName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GearmanPacket.DataComponentName 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
-
-