Enum Class RemovalStrategy
- All Implemented Interfaces:
Serializable
,Comparable<RemovalStrategy>
,Constable
Determines the strategy regarding child regions when regions are
removed from a
RegionIndex
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRemove any children under the removed regions.Unset the parent in children regions. -
Method Summary
Modifier and TypeMethodDescriptionstatic RemovalStrategy
Returns the enum constant of this class with the specified name.static RemovalStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSET_PARENT_IN_CHILDREN
Unset the parent in children regions. -
REMOVE_CHILDREN
Remove any children under the removed regions. This includes sub-children, etc.
-
-
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
-