Package org.apache.solr.handler.admin
Enum ConfigSetsHandler.ConfigSetOperation
- java.lang.Object
-
- java.lang.Enum<ConfigSetsHandler.ConfigSetOperation>
-
- org.apache.solr.handler.admin.ConfigSetsHandler.ConfigSetOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigSetsHandler.ConfigSetOperation>
- Enclosing class:
- ConfigSetsHandler
public static enum ConfigSetsHandler.ConfigSetOperation extends Enum<ConfigSetsHandler.ConfigSetOperation>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Map<String,Object>
call(SolrQueryRequest req, SolrQueryResponse rsp, ConfigSetsHandler h)
static ConfigSetsHandler.ConfigSetOperation
get(ConfigSetParams.ConfigSetAction action)
ConfigSetParams.ConfigSetAction
getAction()
static ConfigSetsHandler.ConfigSetOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigSetsHandler.ConfigSetOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPLOAD_OP
public static final ConfigSetsHandler.ConfigSetOperation UPLOAD_OP
-
CREATE_OP
public static final ConfigSetsHandler.ConfigSetOperation CREATE_OP
-
DELETE_OP
public static final ConfigSetsHandler.ConfigSetOperation DELETE_OP
-
LIST_OP
public static final ConfigSetsHandler.ConfigSetOperation LIST_OP
-
-
Method Detail
-
values
public static ConfigSetsHandler.ConfigSetOperation[] 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 (ConfigSetsHandler.ConfigSetOperation c : ConfigSetsHandler.ConfigSetOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigSetsHandler.ConfigSetOperation 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
-
getAction
public ConfigSetParams.ConfigSetAction getAction()
-
call
public abstract Map<String,Object> call(SolrQueryRequest req, SolrQueryResponse rsp, ConfigSetsHandler h) throws Exception
- Throws:
Exception
-
get
public static ConfigSetsHandler.ConfigSetOperation get(ConfigSetParams.ConfigSetAction action)
-
-