Class ResourceObjectShadowChangeDescription
java.lang.Object
com.evolveum.midpoint.provisioning.api.ResourceObjectShadowChangeDescription
- All Implemented Interfaces:
ProvisioningEvent
,DebugDumpable
,Serializable
public class ResourceObjectShadowChangeDescription
extends Object
implements ProvisioningEvent, DebugDumpable, Serializable
Describes a change of a specific resource object together with definitions of the source and possibly
also other information. This is useful to completely describe a change that was detected on the resource.
This object can describe either relative change or new absolute state. In case of relative change the "objectDelta"
property will be provided. In case of description of new absolute state the "shadowedResourceObject" value will be provided.
It may happen that both of them will be provided if both are known (and efficiently detected). In such a case the
implementation may choose any one to process.
- Author:
- Radovan Semancik
- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
debugDump
(int indent) @NotNull PrismObject<ResourceType>
@NotNull PrismObject<ShadowType>
boolean
isDelete()
boolean
void
setItemProcessingIdentifier
(String itemProcessingIdentifier) void
setObjectDelta
(ObjectDelta<ShadowType> objectDelta) void
setResource
(PrismObject<ResourceType> resource) void
setShadowedResourceObject
(@NotNull PrismObject<ShadowType> shadowedResourceObject) void
setShadowExistsInRepo
(Boolean shadowExistsInRepo) void
setSourceChannel
(String sourceChannel) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
ResourceObjectShadowChangeDescription
public ResourceObjectShadowChangeDescription()
-
-
Method Details
-
getObjectDelta
-
setObjectDelta
-
getShadowedResourceObject
-
setShadowedResourceObject
public void setShadowedResourceObject(@NotNull @NotNull PrismObject<ShadowType> shadowedResourceObject) -
getSourceChannel
-
setSourceChannel
-
getResource
-
setResource
-
getShadowExistsInRepo
-
setShadowExistsInRepo
-
getItemProcessingIdentifier
-
setItemProcessingIdentifier
-
checkConsistence
public void checkConsistence() -
isProtected
public boolean isProtected() -
toString
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
getShadowOid
-
isDelete
public boolean isDelete()
-