Package com.evolveum.midpoint.audit.api
Enum AuditEventStage
- java.lang.Object
-
- java.lang.Enum<AuditEventStage>
-
- com.evolveum.midpoint.audit.api.AuditEventStage
-
- All Implemented Interfaces:
Serializable
,Comparable<AuditEventStage>
public enum AuditEventStage extends Enum<AuditEventStage>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuditEventStage
fromSchemaValue(AuditEventStageType stage)
static AuditEventStageType
toSchemaValue(AuditEventStage stage)
static AuditEventStage
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuditEventStage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUEST
public static final AuditEventStage REQUEST
-
EXECUTION
public static final AuditEventStage EXECUTION
-
-
Method Detail
-
values
public static AuditEventStage[] 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 (AuditEventStage c : AuditEventStage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditEventStage 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
-
fromSchemaValue
public static AuditEventStage fromSchemaValue(AuditEventStageType stage)
-
toSchemaValue
public static AuditEventStageType toSchemaValue(AuditEventStage stage)
-
-