Package com.day.cq.reporting
Enum ProcessingPhase
- All Implemented Interfaces:
Serializable,Comparable<ProcessingPhase>,java.lang.constant.Constable
This enumeration defines the types of data processing phases available.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApply the preprocessing to the raw data (keeping it all the way through processing)Apply the preprocessing to the completely processed data (grouped, aggregated, etc.; the processed data will be replaced accordingly)Apply the preprocessing for filtering.Apply the preprocessing for grouping. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the formatted value should be applied to the data (versus being used for calculation only).static ProcessingPhasefromStringRep(String stringRep) Creates a suitableProcessingPhasefrom the specified string representation.Gets the string representation of the preprocessing module.static ProcessingPhaseReturns the enum constant of this type with the specified name.static ProcessingPhase[]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
-
APPLY
Apply the preprocessing to the raw data (keeping it all the way through processing) -
APPLY_AFTER
Apply the preprocessing to the completely processed data (grouped, aggregated, etc.; the processed data will be replaced accordingly) -
GROUP
Apply the preprocessing for grouping. The raw data will remain unchanged. -
FILTER
Apply the preprocessing for filtering. The raw data will remain unchanged.
-
-
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
-
getStringRep
Gets the string representation of the preprocessing module.- Returns:
- The string representation of the preprocessing module
-
applyValue
public boolean applyValue()Checks if the formatted value should be applied to the data (versus being used for calculation only).- Returns:
trueif the formatted value should be applied to the data
-
fromStringRep
Creates a suitableProcessingPhasefrom the specified string representation.- Parameters:
stringRep- The string representation- Returns:
- The preprocessing type;
nullif an invalid string representation has been specified
-