Enum Class AllowedComputations
- All Implemented Interfaces:
Serializable
,Comparable<AllowedComputations>
,Constable
Defines the set of data/operation types allowed for the computation for the segment of the pipeline being processed at
the moment
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBackground operations are allowed for the current stage of the pipelineData computations are allowedBackground operations are allowed for the current stage of the pipelineHalf-exclusive operations are allowed the current stage of the pipelineModifier applied to all allowed computations which states that all unimportant computations shouldn't be computed -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Collection<AllowedComputations>
Both data and any type of operations are allowedstatic final Collection<AllowedComputations>
Data computation are allowed, no operations are allowedstatic final Collection<AllowedComputations>
Only operations marked as important are allowed -
Method Summary
Modifier and TypeMethodDescriptionstatic AllowedComputations
Returns the enum constant of this class with the specified name.static AllowedComputations[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BACKGROUND
Background operations are allowed for the current stage of the pipeline -
HALF_EXCLUSIVE
Half-exclusive operations are allowed the current stage of the pipeline -
EXCLUSIVE
Background operations are allowed for the current stage of the pipeline -
DATA
Data computations are allowed -
IMPORTANT_ONLY
Modifier applied to all allowed computations which states that all unimportant computations shouldn't be computed
-
-
Field Details
-
DATA_ONLY
Data computation are allowed, no operations are allowed -
ALL
Both data and any type of operations are allowed -
IMPORTANT_OPERATIONS_ONLY
Only operations marked as important are allowed
-
-
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
-