Package org.xipki.audit
Enum AuditStatus
- java.lang.Object
-
- java.lang.Enum<AuditStatus>
-
- org.xipki.audit.AuditStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AuditStatus>
public enum AuditStatus extends java.lang.Enum<AuditStatus>
Audit status.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILEDSUCCESSFULUNDEFINED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuditStatusforName(java.lang.String name)static AuditStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AuditStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESSFUL
public static final AuditStatus SUCCESSFUL
-
FAILED
public static final AuditStatus FAILED
-
UNDEFINED
public static final AuditStatus UNDEFINED
-
-
Method Detail
-
values
public static AuditStatus[] 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 (AuditStatus c : AuditStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditStatus 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
-
forName
public static AuditStatus forName(java.lang.String name)
-
-