Package lumis.portal.audit
Enum AuditManager.AuditType
- java.lang.Object
-
- java.lang.Enum<AuditManager.AuditType>
-
- lumis.portal.audit.AuditManager.AuditType
-
- All Implemented Interfaces:
Serializable
,Comparable<AuditManager.AuditType>
- Enclosing class:
- AuditManager
public static enum AuditManager.AuditType extends Enum<AuditManager.AuditType>
Enum of audit types used by audit actions taken.- Since:
- 6.0.0
- Version:
- $Revision: 21360 $ $Date: 2018-06-08 17:42:32 -0300 (Fri, 08 Jun 2018) $
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLE_AUDIT_ENTRY_TYPE
ENABLE_AUDIT_ENTRY_TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
Returns the key.String
getTitle()
Returns the title.static AuditManager.AuditType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuditManager.AuditType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLE_AUDIT_ENTRY_TYPE
public static final AuditManager.AuditType DISABLE_AUDIT_ENTRY_TYPE
-
ENABLE_AUDIT_ENTRY_TYPE
public static final AuditManager.AuditType ENABLE_AUDIT_ENTRY_TYPE
-
-
Method Detail
-
values
public static AuditManager.AuditType[] 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 (AuditManager.AuditType c : AuditManager.AuditType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditManager.AuditType 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
-
getKey
public String getKey()
Returns the key.- Returns:
- the key
- Since:
- 6.0.0
-
getTitle
public String getTitle()
Returns the title.- Returns:
- the title
- Since:
- 6.0.0
-
-