Enum FailedObjectsSelectionMethodType
- java.lang.Object
-
- java.lang.Enum<FailedObjectsSelectionMethodType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.FailedObjectsSelectionMethodType
-
- All Implemented Interfaces:
Serializable
,Comparable<FailedObjectsSelectionMethodType>
public enum FailedObjectsSelectionMethodType extends Enum<FailedObjectsSelectionMethodType>
Java class for FailedObjectsSelectionMethodType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="FailedObjectsSelectionMethodType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="default"/> <enumeration value="narrowQuery"/> <enumeration value="filterAfterRetrieval"/> <enumeration value="fetchFailedObjects"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
Default processing method.FETCH_FAILED_OBJECTS
Failed objects are selected using the repository.FILTER_AFTER_RETRIEVAL
Uses original query to retrieve objects from a resource.NARROW_QUERY
Simply narrow the query by adding failed objects filter.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FailedObjectsSelectionMethodType
fromValue(String v)
String
value()
static FailedObjectsSelectionMethodType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FailedObjectsSelectionMethodType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static FailedObjectsSelectionMethodType[] 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 (FailedObjectsSelectionMethodType c : FailedObjectsSelectionMethodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailedObjectsSelectionMethodType 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
-
value
public String value()
-
fromValue
public static FailedObjectsSelectionMethodType fromValue(String v)
-
-