Enum AuditResult
- java.lang.Object
-
- java.lang.Enum<AuditResult>
-
- org.openiam.idm.srvc.audit.constant.AuditResult
-
- All Implemented Interfaces:
Serializable
,Comparable<AuditResult>
public enum AuditResult extends Enum<AuditResult>
Created with IntelliJ IDEA. User: alexander Date: 10/2/13 Time: 3:23 AM To change this template use File | Settings | File Templates. Do not change the names of these enums, as they are references outside of java (i.e. in messages_*.properties)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILURE
SECURITY_BREACH
SUCCESS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
static AuditResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuditResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final AuditResult SUCCESS
-
FAILURE
public static final AuditResult FAILURE
-
SECURITY_BREACH
public static final AuditResult SECURITY_BREACH
-
-
Method Detail
-
values
public static AuditResult[] 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 (AuditResult c : AuditResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditResult 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
-
value
public String value()
-
-