Package org.apache.solr.handler.admin
Enum MetricsHistoryHandler.Format
- java.lang.Object
-
- java.lang.Enum<MetricsHistoryHandler.Format>
-
- org.apache.solr.handler.admin.MetricsHistoryHandler.Format
-
- All Implemented Interfaces:
Serializable
,Comparable<MetricsHistoryHandler.Format>
- Enclosing class:
- MetricsHistoryHandler
public static enum MetricsHistoryHandler.Format extends Enum<MetricsHistoryHandler.Format>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricsHistoryHandler.Format
get(String p)
String
toLower()
static MetricsHistoryHandler.Format
valueOf(String name)
Returns the enum constant of this type with the specified name.static MetricsHistoryHandler.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIST
public static final MetricsHistoryHandler.Format LIST
-
STRING
public static final MetricsHistoryHandler.Format STRING
-
GRAPH
public static final MetricsHistoryHandler.Format GRAPH
-
-
Method Detail
-
values
public static MetricsHistoryHandler.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 (MetricsHistoryHandler.Format c : MetricsHistoryHandler.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 MetricsHistoryHandler.Format 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
-
get
public static MetricsHistoryHandler.Format get(String p)
-
toLower
public String toLower()
-
-