Enum CoreApiMapping.EndPoint
- java.lang.Object
-
- java.lang.Enum<CoreApiMapping.EndPoint>
-
- org.apache.solr.client.solrj.request.CoreApiMapping.EndPoint
-
- All Implemented Interfaces:
Serializable
,Comparable<CoreApiMapping.EndPoint>
,CollectionApiMapping.V2EndPoint
- Enclosing class:
- CoreApiMapping
public static enum CoreApiMapping.EndPoint extends Enum<CoreApiMapping.EndPoint> implements CollectionApiMapping.V2EndPoint
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CORES_COMMANDS
CORES_STATUS
NODEAPIS
NODEINVOKE
PER_CORE_COMMANDS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSpecName()
static CoreApiMapping.EndPoint
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoreApiMapping.EndPoint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CORES_STATUS
public static final CoreApiMapping.EndPoint CORES_STATUS
-
CORES_COMMANDS
public static final CoreApiMapping.EndPoint CORES_COMMANDS
-
PER_CORE_COMMANDS
public static final CoreApiMapping.EndPoint PER_CORE_COMMANDS
-
NODEINVOKE
public static final CoreApiMapping.EndPoint NODEINVOKE
-
NODEAPIS
public static final CoreApiMapping.EndPoint NODEAPIS
-
-
Method Detail
-
values
public static CoreApiMapping.EndPoint[] 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 (CoreApiMapping.EndPoint c : CoreApiMapping.EndPoint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoreApiMapping.EndPoint 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
-
getSpecName
public String getSpecName()
- Specified by:
getSpecName
in interfaceCollectionApiMapping.V2EndPoint
-
-