public enum OperationResultStatus extends Enum<OperationResultStatus>
Enum Constant and Description |
---|
FATAL_ERROR
Used when operation didn't finish correctly.
|
HANDLED_ERROR
The operation didn't finish correctly but that was expected and handled.
|
IN_PROGRESS |
NOT_APPLICABLE
Result does not make any sense for the operation.
|
PARTIAL_ERROR
Used when operation contains at least one operation witch status
SUCCESS/WARNING and at least one operation with status FATAL_ERROR.
|
SUCCESS
Used when operation and sub operations finish successfully.
|
UNKNOWN
No information about operation is present.
|
WARNING
Used when operation finish successfully, but minor problem occurred.
|
Modifier and Type | Method and Description |
---|---|
com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultStatusType |
createStatusType() |
static com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultStatusType |
createStatusType(OperationResultStatus status) |
static OperationResultStatus |
parseStatusType(com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultStatusType statusType) |
static OperationResultStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationResultStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationResultStatus UNKNOWN
public static final OperationResultStatus SUCCESS
public static final OperationResultStatus WARNING
public static final OperationResultStatus PARTIAL_ERROR
public static final OperationResultStatus FATAL_ERROR
public static final OperationResultStatus HANDLED_ERROR
public static final OperationResultStatus NOT_APPLICABLE
public static final OperationResultStatus IN_PROGRESS
public static OperationResultStatus[] values()
for (OperationResultStatus c : OperationResultStatus.values()) System.out.println(c);
public static OperationResultStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static OperationResultStatus parseStatusType(com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultStatusType statusType)
public static com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultStatusType createStatusType(OperationResultStatus status)
public com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultStatusType createStatusType()
Copyright © 2016 evolveum. All rights reserved.