Package org.infinispan.cli.printers
Enum PrettyPrinter.PrettyPrintMode
- java.lang.Object
-
- java.lang.Enum<PrettyPrinter.PrettyPrintMode>
-
- org.infinispan.cli.printers.PrettyPrinter.PrettyPrintMode
-
- All Implemented Interfaces:
Serializable,Comparable<PrettyPrinter.PrettyPrintMode>
- Enclosing interface:
- PrettyPrinter
public static enum PrettyPrinter.PrettyPrintMode extends Enum<PrettyPrinter.PrettyPrintMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrettyPrinter.PrettyPrintModevalueOf(String name)Returns the enum constant of this type with the specified name.static PrettyPrinter.PrettyPrintMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLE
public static final PrettyPrinter.PrettyPrintMode TABLE
-
JSON
public static final PrettyPrinter.PrettyPrintMode JSON
-
CSV
public static final PrettyPrinter.PrettyPrintMode CSV
-
-
Method Detail
-
values
public static PrettyPrinter.PrettyPrintMode[] 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 (PrettyPrinter.PrettyPrintMode c : PrettyPrinter.PrettyPrintMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrettyPrinter.PrettyPrintMode 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
-
-