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:
ResourceObjectChangeListener
, Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ResourceObjectShadowChangeDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkConsistence()
String
debugDump(int indent)
String
getItemProcessingIdentifier()
ObjectDelta<ShadowType>
getObjectDelta()
@NotNull PrismObject<ResourceType>
getResource()
@NotNull PrismObject<ShadowType>
getShadowedResourceObject()
Boolean
getShadowExistsInRepo()
String
getShadowOid()
String
getSourceChannel()
boolean
isDelete()
boolean
isProtected()
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)
String
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
-
-
-
-
Method Detail
-
getObjectDelta
public ObjectDelta<ShadowType> getObjectDelta()
-
setObjectDelta
public void setObjectDelta(ObjectDelta<ShadowType> objectDelta)
-
getShadowedResourceObject
@NotNull public @NotNull PrismObject<ShadowType> getShadowedResourceObject()
-
setShadowedResourceObject
public void setShadowedResourceObject(@NotNull @NotNull PrismObject<ShadowType> shadowedResourceObject)
-
getSourceChannel
public String getSourceChannel()
-
setSourceChannel
public void setSourceChannel(String sourceChannel)
-
getResource
@NotNull public @NotNull PrismObject<ResourceType> getResource()
-
setResource
public void setResource(PrismObject<ResourceType> resource)
-
getShadowExistsInRepo
public Boolean getShadowExistsInRepo()
-
setShadowExistsInRepo
public void setShadowExistsInRepo(Boolean shadowExistsInRepo)
-
getItemProcessingIdentifier
public String getItemProcessingIdentifier()
-
setItemProcessingIdentifier
public void setItemProcessingIdentifier(String itemProcessingIdentifier)
-
checkConsistence
public void checkConsistence()
-
isProtected
public boolean isProtected()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
getShadowOid
public String getShadowOid()
-
isDelete
public boolean isDelete()
-
-