Enum Class FailedObjectsSelectionMethodType

java.lang.Object
java.lang.Enum<FailedObjectsSelectionMethodType>
com.evolveum.midpoint.xml.ns._public.common.common_3.FailedObjectsSelectionMethodType
All Implemented Interfaces:
TypeSafeEnum, Serializable, Comparable<FailedObjectsSelectionMethodType>, Constable

public enum FailedObjectsSelectionMethodType extends Enum<FailedObjectsSelectionMethodType> implements TypeSafeEnum
How are failed objects selected. This is to overcome some technological obstacles in object searching in the provisioning module.
  • Enum Constant Details

    • DEFAULT

      public static final FailedObjectsSelectionMethodType DEFAULT
      Default processing method. Normally narrowQuery. But when searching for shadows via provisioning, fetchFailedObjects is used.
    • NARROW_QUERY

      public static final FailedObjectsSelectionMethodType NARROW_QUERY
      Simply narrow the query by adding failed objects filter. It works with repository but usually not with provisioning.
    • FILTER_AFTER_RETRIEVAL

      public static final FailedObjectsSelectionMethodType FILTER_AFTER_RETRIEVAL
      Uses original query to retrieve objects from a resource. Filtering is done afterwards, i.e. before results are passed to the processing. This is preferable when there is large percentage of failed records.
    • FETCH_FAILED_OBJECTS

      public static final FailedObjectsSelectionMethodType FETCH_FAILED_OBJECTS
      Failed objects are selected using the repository. Only after that, they are fetched one-by-one via provisioning and processed. This is preferable when there is only a small percentage of failed records.
  • Method Details

    • values

      public static FailedObjectsSelectionMethodType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FailedObjectsSelectionMethodType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static FailedObjectsSelectionMethodType fromValue(String v)