Package org.apache.cassandra.tools
Enum JMXTool.Dump.Format
- java.lang.Object
-
- java.lang.Enum<JMXTool.Dump.Format>
-
- org.apache.cassandra.tools.JMXTool.Dump.Format
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JMXTool.Dump.Format>
- Enclosing class:
- JMXTool.Dump
public static enum JMXTool.Dump.Format extends java.lang.Enum<JMXTool.Dump.Format>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JMXTool.Dump.Format
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JMXTool.Dump.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
console
public static final JMXTool.Dump.Format console
-
json
public static final JMXTool.Dump.Format json
-
yaml
public static final JMXTool.Dump.Format yaml
-
-
Method Detail
-
values
public static JMXTool.Dump.Format[] 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 (JMXTool.Dump.Format c : JMXTool.Dump.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JMXTool.Dump.Format 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
-
-