Package org.apache.solr.security
Enum AuditEvent.RequestType
- java.lang.Object
-
- java.lang.Enum<AuditEvent.RequestType>
-
- org.apache.solr.security.AuditEvent.RequestType
-
- All Implemented Interfaces:
Serializable
,Comparable<AuditEvent.RequestType>
- Enclosing class:
- AuditEvent
public static enum AuditEvent.RequestType extends Enum<AuditEvent.RequestType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuditEvent.RequestType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuditEvent.RequestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADMIN
public static final AuditEvent.RequestType ADMIN
-
SEARCH
public static final AuditEvent.RequestType SEARCH
-
UPDATE
public static final AuditEvent.RequestType UPDATE
-
STREAMING
public static final AuditEvent.RequestType STREAMING
-
UNKNOWN
public static final AuditEvent.RequestType UNKNOWN
-
-
Method Detail
-
values
public static AuditEvent.RequestType[] 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 (AuditEvent.RequestType c : AuditEvent.RequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditEvent.RequestType 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
-
-