Enum Class CountObjectsSimulateType
java.lang.Object
java.lang.Enum<CountObjectsSimulateType>
com.evolveum.midpoint.xml.ns._public.resource.capabilities_3.CountObjectsSimulateType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<CountObjectsSimulateType>
,Constable
Strategy to simulate count operation using a different operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTry a paged search with the page of one.Execute the actual search and sequentially count the entries. -
Method Summary
Modifier and TypeMethodDescriptionstatic CountObjectsSimulateType
value()
Returns enum value defined as in schema.static CountObjectsSimulateType
Returns the enum constant of this class with the specified name.static CountObjectsSimulateType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PAGED_SEARCH_ESTIMATE
Try a paged search with the page of one. Use the approximate number of entries returned in search metadata as count approximation. -
SEQUENTIAL_SEARCH
Execute the actual search and sequentially count the entries. WARNING: this may be very inefficient.
-
-
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
-