Enum ROperationResultStatus
- java.lang.Object
-
- java.lang.Enum<ROperationResultStatus>
-
- com.evolveum.midpoint.repo.sql.data.common.enums.ROperationResultStatus
-
- All Implemented Interfaces:
SchemaEnum<OperationResultStatusType>
,Serializable
,Comparable<ROperationResultStatus>
public enum ROperationResultStatus extends Enum<ROperationResultStatus> implements SchemaEnum<OperationResultStatusType>
- Author:
- lazyman
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FATAL_ERROR
HANDLED_ERROR
IN_PROGRESS
NOT_APPLICABLE
PARTIAL_ERROR
SUCCESS
UNKNOWN
WARNING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationResultStatusType
getSchemaValue()
OperationResultStatus
getStatus()
static ROperationResultStatus
toRepo(OperationResultStatusType jaxb)
static ROperationResultStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ROperationResultStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final ROperationResultStatus SUCCESS
-
WARNING
public static final ROperationResultStatus WARNING
-
PARTIAL_ERROR
public static final ROperationResultStatus PARTIAL_ERROR
-
FATAL_ERROR
public static final ROperationResultStatus FATAL_ERROR
-
NOT_APPLICABLE
public static final ROperationResultStatus NOT_APPLICABLE
-
IN_PROGRESS
public static final ROperationResultStatus IN_PROGRESS
-
UNKNOWN
public static final ROperationResultStatus UNKNOWN
-
HANDLED_ERROR
public static final ROperationResultStatus HANDLED_ERROR
-
-
Method Detail
-
values
public static ROperationResultStatus[] 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 (ROperationResultStatus c : ROperationResultStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ROperationResultStatus 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
-
getStatus
public OperationResultStatus getStatus()
-
getSchemaValue
public OperationResultStatusType getSchemaValue()
- Specified by:
getSchemaValue
in interfaceSchemaEnum<OperationResultStatusType>
-
toRepo
public static ROperationResultStatus toRepo(OperationResultStatusType jaxb)
-
-