Enum Class AttributeFetchStrategyType
java.lang.Object
java.lang.Enum<AttributeFetchStrategyType>
com.evolveum.midpoint.xml.ns._public.common.common_3.AttributeFetchStrategyType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<AttributeFetchStrategyType>
,Constable
public enum AttributeFetchStrategyType
extends Enum<AttributeFetchStrategyType>
implements TypeSafeEnum
The way how an attribute is fetched from the resource. Or more exactly a way how midPoint requests the
attribute from the connector.
This setting is used if no other (more specific) setting is specified for an attribute in the run-time.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMidPoint expects that the attribute will NOT be implicitly returned by the connector.MidPoint expects that the attribute will be implicitly returned by the connector in each fetch request and there is no need to explicitly request the attribute.Fetch the attribute only if absolutely necessary. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeFetchStrategyType
value()
Returns enum value defined as in schema.static AttributeFetchStrategyType
Returns the enum constant of this class with the specified name.static AttributeFetchStrategyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMPLICIT
MidPoint expects that the attribute will be implicitly returned by the connector in each fetch request and there is no need to explicitly request the attribute. This is the default. This strategy will be used if no other strategy is specified. -
EXPLICIT
MidPoint expects that the attribute will NOT be implicitly returned by the connector. To fetch the attribute midPoint has to explicitly request it. Therefore midPoint will explicitly request this attribute in each fetch request. -
MINIMAL
Fetch the attribute only if absolutely necessary. MidPoint expects that the attribute might be implicitly returned by the connector. Therefore it will try to avoid fetching this value (if possible). This option can be used for values that cause performance overhead (e.g. list of members of large groups).
-
-
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
-