Package org.apache.solr.security
Enum AuditEvent.EventType
- java.lang.Object
-
- java.lang.Enum<AuditEvent.EventType>
-
- org.apache.solr.security.AuditEvent.EventType
-
- All Implemented Interfaces:
Serializable
,Comparable<AuditEvent.EventType>
- Enclosing class:
- AuditEvent
public static enum AuditEvent.EventType extends Enum<AuditEvent.EventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONYMOUS
ANONYMOUS_REJECTED
AUTHENTICATED
AUTHORIZED
COMPLETED
ERROR
REJECTED
UNAUTHORIZED
-
Field Summary
Fields Modifier and Type Field Description String
explanation
AuditEvent.Level
level
String
message
int
status
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuditEvent.EventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuditEvent.EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHENTICATED
public static final AuditEvent.EventType AUTHENTICATED
-
REJECTED
public static final AuditEvent.EventType REJECTED
-
ANONYMOUS
public static final AuditEvent.EventType ANONYMOUS
-
ANONYMOUS_REJECTED
public static final AuditEvent.EventType ANONYMOUS_REJECTED
-
AUTHORIZED
public static final AuditEvent.EventType AUTHORIZED
-
UNAUTHORIZED
public static final AuditEvent.EventType UNAUTHORIZED
-
COMPLETED
public static final AuditEvent.EventType COMPLETED
-
ERROR
public static final AuditEvent.EventType ERROR
-
-
Field Detail
-
message
public final String message
-
explanation
public final String explanation
-
level
public final AuditEvent.Level level
-
status
public final int status
-
-
Method Detail
-
values
public static AuditEvent.EventType[] 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.EventType c : AuditEvent.EventType.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.EventType 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
-
-