- All Implemented Interfaces:
Serializable,Comparable<Phase.CleanupMode>,java.lang.constant.Constable
- Enclosing class:
- Phase
Specifies which fields to remove from records after
completion of a phase.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll input fields and any fields generated for field processing are removed.Only those fields generated for field processing should be removed.No fields should be removed, including those generated for field processing -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether input fields for the phase should be removed.booleanIndicates whether intermediate fields produced to get phase results should be removed.static Phase.CleanupModeReturns the enum constant of this class with the specified name.static Phase.CleanupMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No fields should be removed, including those generated for field processing -
INTERMEDIATE
Only those fields generated for field processing should be removed. Input fields are preserved. -
ALL
All input fields and any fields generated for field processing are removed. Only result fields are preserved.
-
-
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
-
removeIntermediates
public boolean removeIntermediates()Indicates whether intermediate fields produced to get phase results should be removed.- Returns:
trueto remove intermediate fields,falseotherwise.
-
removeInputs
public boolean removeInputs()Indicates whether input fields for the phase should be removed.- Returns:
trueto remove input fields,falseotherwise.
-