Enum OperationResultStatusPresentationProperties
- java.lang.Object
-
- java.lang.Enum<OperationResultStatusPresentationProperties>
-
- com.evolveum.midpoint.web.page.admin.server.dto.OperationResultStatusPresentationProperties
-
- All Implemented Interfaces:
Serializable
,Comparable<OperationResultStatusPresentationProperties>
public enum OperationResultStatusPresentationProperties extends Enum<OperationResultStatusPresentationProperties>
- Author:
- shood
-
-
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 String
getIcon()
String
getStatusLabelKey()
static OperationResultStatusPresentationProperties
parseOperationalResultStatus(OperationResultStatus statusType)
static OperationResultStatusPresentationProperties
parseOperationalResultStatus(OperationResultStatusType statusType)
static OperationResultStatusPresentationProperties
valueOf(String name)
Returns the enum constant of this type with the specified name.static OperationResultStatusPresentationProperties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final OperationResultStatusPresentationProperties UNKNOWN
-
SUCCESS
public static final OperationResultStatusPresentationProperties SUCCESS
-
WARNING
public static final OperationResultStatusPresentationProperties WARNING
-
PARTIAL_ERROR
public static final OperationResultStatusPresentationProperties PARTIAL_ERROR
-
FATAL_ERROR
public static final OperationResultStatusPresentationProperties FATAL_ERROR
-
HANDLED_ERROR
public static final OperationResultStatusPresentationProperties HANDLED_ERROR
-
NOT_APPLICABLE
public static final OperationResultStatusPresentationProperties NOT_APPLICABLE
-
IN_PROGRESS
public static final OperationResultStatusPresentationProperties IN_PROGRESS
-
-
Method Detail
-
values
public static OperationResultStatusPresentationProperties[] 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 (OperationResultStatusPresentationProperties c : OperationResultStatusPresentationProperties.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationResultStatusPresentationProperties 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
-
getIcon
public String getIcon()
-
getStatusLabelKey
public String getStatusLabelKey()
-
parseOperationalResultStatus
public static OperationResultStatusPresentationProperties parseOperationalResultStatus(OperationResultStatusType statusType)
-
parseOperationalResultStatus
public static OperationResultStatusPresentationProperties parseOperationalResultStatus(OperationResultStatus statusType)
-
-