Enum GuardrailsConfigCommand.GuardrailCategory
- java.lang.Object
-
- java.lang.Enum<GuardrailsConfigCommand.GuardrailCategory>
-
- org.apache.cassandra.tools.nodetool.GuardrailsConfigCommand.GuardrailCategory
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GuardrailsConfigCommand.GuardrailCategory>
- Enclosing class:
- GuardrailsConfigCommand
public static enum GuardrailsConfigCommand.GuardrailCategory extends java.lang.Enum<GuardrailsConfigCommand.GuardrailCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description flagsothersthresholdsvalues
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GuardrailsConfigCommand.GuardrailCategoryparseCategory(java.lang.String category, java.io.PrintStream out)static GuardrailsConfigCommand.GuardrailCategoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GuardrailsConfigCommand.GuardrailCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
values
public static final GuardrailsConfigCommand.GuardrailCategory values
-
thresholds
public static final GuardrailsConfigCommand.GuardrailCategory thresholds
-
flags
public static final GuardrailsConfigCommand.GuardrailCategory flags
-
others
public static final GuardrailsConfigCommand.GuardrailCategory others
-
-
Method Detail
-
values
public static GuardrailsConfigCommand.GuardrailCategory[] 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 (GuardrailsConfigCommand.GuardrailCategory c : GuardrailsConfigCommand.GuardrailCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GuardrailsConfigCommand.GuardrailCategory valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
parseCategory
public static GuardrailsConfigCommand.GuardrailCategory parseCategory(java.lang.String category, java.io.PrintStream out)
-
-