- All Implemented Interfaces:
Serializable
,Comparable<JobSize>
,java.lang.constant.Constable
Job Size, used to group work by size eg subtype 1 consumption section sub buckets, subtype 1024 aggregate buckets.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JobSize
from
(int value) Get the JobSize for an integer valuestatic JobSize
Returns the enum constant of this type with the specified name.static JobSize[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ALL
Constant: 0xFFFF -
LARGE
Constant: 0x01 = 1 -
MEDIUM
Constant: 0x02 = 2 -
SMALL
Constant: 0x03 = 3 -
TINY
Constant: 0x04 = 4 -
NOT_DEFINED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
from
Get the JobSize for an integer value- Parameters:
value
- the integer value- Returns:
- the corresponding JobSize
-