Package org.apache.solr.handler.admin
Enum MetricsHistoryHandler.Cmd
- java.lang.Object
-
- java.lang.Enum<MetricsHistoryHandler.Cmd>
-
- org.apache.solr.handler.admin.MetricsHistoryHandler.Cmd
-
- All Implemented Interfaces:
Serializable
,Comparable<MetricsHistoryHandler.Cmd>
- Enclosing class:
- MetricsHistoryHandler
public static enum MetricsHistoryHandler.Cmd extends Enum<MetricsHistoryHandler.Cmd>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricsHistoryHandler.Cmd
get(String p)
String
toLower()
static MetricsHistoryHandler.Cmd
valueOf(String name)
Returns the enum constant of this type with the specified name.static MetricsHistoryHandler.Cmd[]
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.Cmd LIST
-
STATUS
public static final MetricsHistoryHandler.Cmd STATUS
-
GET
public static final MetricsHistoryHandler.Cmd GET
-
DELETE
public static final MetricsHistoryHandler.Cmd DELETE
-
-
Method Detail
-
values
public static MetricsHistoryHandler.Cmd[] 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.Cmd c : MetricsHistoryHandler.Cmd.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.Cmd 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.Cmd get(String p)
-
toLower
public String toLower()
-
-