Package org.apache.solr.common.params
Enum ConfigSetParams.ConfigSetAction
- java.lang.Object
-
- java.lang.Enum<ConfigSetParams.ConfigSetAction>
-
- org.apache.solr.common.params.ConfigSetParams.ConfigSetAction
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigSetParams.ConfigSetAction>
- Enclosing interface:
- ConfigSetParams
public static enum ConfigSetParams.ConfigSetAction extends Enum<ConfigSetParams.ConfigSetAction>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigSetParams.ConfigSetAction
get(String p)
boolean
isEqual(String s)
String
toLower()
static ConfigSetParams.ConfigSetAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigSetParams.ConfigSetAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final ConfigSetParams.ConfigSetAction CREATE
-
UPLOAD
public static final ConfigSetParams.ConfigSetAction UPLOAD
-
DELETE
public static final ConfigSetParams.ConfigSetAction DELETE
-
LIST
public static final ConfigSetParams.ConfigSetAction LIST
-
-
Method Detail
-
values
public static ConfigSetParams.ConfigSetAction[] 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 (ConfigSetParams.ConfigSetAction c : ConfigSetParams.ConfigSetAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigSetParams.ConfigSetAction 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 ConfigSetParams.ConfigSetAction get(String p)
-
isEqual
public boolean isEqual(String s)
-
toLower
public String toLower()
-
-