Enum AuditEngineProperties.AuditFormatTypes
- java.lang.Object
-
- java.lang.Enum<AuditEngineProperties.AuditFormatTypes>
-
- org.apereo.cas.configuration.model.core.audit.AuditEngineProperties.AuditFormatTypes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuditEngineProperties.AuditFormatTypes>
- Enclosing class:
- AuditEngineProperties
public static enum AuditEngineProperties.AuditFormatTypes extends java.lang.Enum<AuditEngineProperties.AuditFormatTypes>
The audit format types.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuditEngineProperties.AuditFormatTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuditEngineProperties.AuditFormatTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final AuditEngineProperties.AuditFormatTypes DEFAULT
Default audit format.
-
JSON
public static final AuditEngineProperties.AuditFormatTypes JSON
Output audit logs as JSON strings where necessary/possible.
-
-
Method Detail
-
values
public static AuditEngineProperties.AuditFormatTypes[] 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 (AuditEngineProperties.AuditFormatTypes c : AuditEngineProperties.AuditFormatTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditEngineProperties.AuditFormatTypes 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
-
-