Enum Class ShadowLifecycleStateType
java.lang.Object
java.lang.Enum<ShadowLifecycleStateType>
com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowLifecycleStateType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<ShadowLifecycleStateType>
,Constable
The lifecycle state of a shadow and the corresponding resource object.
See https://docs.evolveum.com/midpoint/reference/resources/shadow/dead/.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSignal to create the resource object was sent.A.k.a.This is a "quantum" state: shadow is alive, but not yet alive at the same time.Normal state."Add" operation is requested.Signal to delete the resource object was sent.Shadow is dead. -
Method Summary
Modifier and TypeMethodDescriptionstatic ShadowLifecycleStateType
value()
Returns enum value defined as in schema.static ShadowLifecycleStateType
Returns the enum constant of this class with the specified name.static ShadowLifecycleStateType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROPOSED
"Add" operation is requested. But it was not started yet. We are processing the request. This is used mostly to detect uniqueness conflicts (to "reserve" identifiers). -
CONCEIVED
Signal to create the resource object was sent. It is being executed. -
GESTATING
This is a "quantum" state: shadow is alive, but not yet alive at the same time. It probably already exists on the resource (hence exists=true). But it does not exist in the snapshot yet. Gestating shadows will not appear in resource searches. This should not be a problem for reconciliation, because they should be linked and they will be processed by reconciliation anyway. -
LIVE
Normal state. Shadow exists. Everything works as expected. No quantum effects. No controversies. -
REAPING
Signal to delete the resource object was sent. It is being executed. -
CORPSE
A.k.a. Schrodinger's shadow. This is a "quantum" state: shadow is dead, but is also alive at the same time. It is probably already deleted in the resource (hence exists=false). But it still exists in the snapshot. Corpse shadows will appear in resource searches - even though is it marked as dead=true. -
TOMBSTONE
Shadow is dead. Nothing remains. No resource object, no object in the snapshot. Just this stone on a grave remains. And it will also expire eventually. Tombstone shadows will not appear in resource searches - because they do not exist on the resource. But they will work with get operations. And they can be searched with noFetch.
-
-
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
-