Package org.opends.server.backends
Enum RebuildConfig.RebuildMode
- java.lang.Object
-
- java.lang.Enum<RebuildConfig.RebuildMode>
-
- org.opends.server.backends.RebuildConfig.RebuildMode
-
- All Implemented Interfaces:
Serializable
,Comparable<RebuildConfig.RebuildMode>
- Enclosing class:
- RebuildConfig
public static enum RebuildConfig.RebuildMode extends Enum<RebuildConfig.RebuildMode>
Identifies how indexes will be selected for rebuild.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
Rebuild all indexes, including system indexes.DEGRADED
Rebuild all degraded indexes, including system indexes.USER_DEFINED
Rebuild used defined list of indexes.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RebuildConfig.RebuildMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static RebuildConfig.RebuildMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final RebuildConfig.RebuildMode ALL
Rebuild all indexes, including system indexes.
-
DEGRADED
public static final RebuildConfig.RebuildMode DEGRADED
Rebuild all degraded indexes, including system indexes.
-
USER_DEFINED
public static final RebuildConfig.RebuildMode USER_DEFINED
Rebuild used defined list of indexes.
-
-
Method Detail
-
values
public static RebuildConfig.RebuildMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RebuildConfig.RebuildMode c : RebuildConfig.RebuildMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RebuildConfig.RebuildMode valueOf(String name)
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
-
-