com.evolveum.midpoint.repo.sql.data.common
Enum ROperationResultStatusType

java.lang.Object
  extended by java.lang.Enum<ROperationResultStatusType>
      extended by com.evolveum.midpoint.repo.sql.data.common.ROperationResultStatusType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ROperationResultStatusType>

public enum ROperationResultStatusType
extends java.lang.Enum<ROperationResultStatusType>

Author:
lazyman

Enum Constant Summary
FATAL_ERROR
           
HANDLED_ERROR
           
IN_PROGRESS
           
NOT_APPLICABLE
           
PARTIAL_ERROR
           
SUCCESS
           
UNKNOWN
           
WARNING
           
 
Method Summary
 OperationResultStatusType getStatus()
           
static ROperationResultStatusType toRepoType(OperationResultStatusType status)
           
static ROperationResultStatusType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ROperationResultStatusType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUCCESS

public static final ROperationResultStatusType SUCCESS

WARNING

public static final ROperationResultStatusType WARNING

PARTIAL_ERROR

public static final ROperationResultStatusType PARTIAL_ERROR

FATAL_ERROR

public static final ROperationResultStatusType FATAL_ERROR

NOT_APPLICABLE

public static final ROperationResultStatusType NOT_APPLICABLE

IN_PROGRESS

public static final ROperationResultStatusType IN_PROGRESS

UNKNOWN

public static final ROperationResultStatusType UNKNOWN

HANDLED_ERROR

public static final ROperationResultStatusType HANDLED_ERROR
Method Detail

values

public static ROperationResultStatusType[] 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 (ROperationResultStatusType c : ROperationResultStatusType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ROperationResultStatusType 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 name
java.lang.NullPointerException - if the argument is null

getStatus

public OperationResultStatusType getStatus()

toRepoType

public static ROperationResultStatusType toRepoType(OperationResultStatusType status)


Copyright © 2012 evolveum. All Rights Reserved.