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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDefault processing method.Failed objects are selected using the repository.Uses original query to retrieve objects from a resource.Simply narrow the query by adding failed objects filter. -
Method Summary
Modifier and TypeMethodDescriptionvalue()
Returns enum value defined as in schema.Returns the enum constant of this class with the specified name.static FailedObjectsSelectionMethodType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Default processing method. Normally narrowQuery. But when searching for shadows via provisioning, fetchFailedObjects is used. -
NARROW_QUERY
Simply narrow the query by adding failed objects filter. It works with repository but usually not with provisioning. -
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
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
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
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 nameNullPointerException
- if the argument is null
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-