Package com.evolveum.midpoint.schema
Enum Class PointInTimeType
- All Implemented Interfaces:
Serializable
,Comparable<PointInTimeType>
,Constable
Specifies the point in time for the returned data. This option controls whether fresh or cached data will
be returned or whether future data projection will be returned. MidPoint usually deals with fresh data
that describe situation at the current point in time. But the client code may want to get data from the
cache that may be possibly stale. Or the client code may want a projection about the future state of the
data (e.g. taking running asynchronous operation into consideration).
- Author:
- semancik
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PointInTimeType
static PointInTimeTypeType
static PointInTimeType
Returns the enum constant of this class with the specified name.static PointInTimeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CACHED
Return cached data (if available). Avoid fetching the data from external system. -
CURRENT
Return current data. Fetch from external system if needed. The "current" has to be understood in Einsteinean sense. The returned data are as fresh as possible - but that still may be hours or days old for some resources. This is usually the default. -
FUTURE
Returns current data and applies all the available projections about future state of the data. E.g. applies projected state of pending asynchronous operations.
-
-
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
-
toPointInTimeTypeType
-
toPointInTimeType
-