Package com.netscape.certsrv.logging
Enum LogSource
- java.lang.Object
-
- java.lang.Enum<LogSource>
-
- com.netscape.certsrv.logging.LogSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static LogSource
valueOf(int value)
Returns the enum constant of this type with the specified name.static LogSource
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LogSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final LogSource ALL
-
KRA
public static final LogSource KRA
-
RA
public static final LogSource RA
-
CA
public static final LogSource CA
-
HTTP
public static final LogSource HTTP
-
DB
public static final LogSource DB
-
AUTHENTICATION
public static final LogSource AUTHENTICATION
-
ADMIN
public static final LogSource ADMIN
-
LDAP
public static final LogSource LDAP
-
REQQUEUE
public static final LogSource REQQUEUE
-
ACLS
public static final LogSource ACLS
-
USRGRP
public static final LogSource USRGRP
-
OCSP
public static final LogSource OCSP
-
AUTHORIZATION
public static final LogSource AUTHORIZATION
-
SIGNED_AUDIT
public static final LogSource SIGNED_AUDIT
-
XCERT
public static final LogSource XCERT
-
TKS
public static final LogSource TKS
-
TPS
public static final LogSource TPS
-
OTHER
public static final LogSource OTHER
-
-
Method Detail
-
values
public static LogSource[] 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 (LogSource c : LogSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogSource valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
-
valueOf
public static LogSource valueOf(int value)
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:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-