Class ResourceObjectShadowChangeDescription
- java.lang.Object
-
- com.evolveum.midpoint.provisioning.api.ResourceObjectShadowChangeDescription
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class ResourceObjectShadowChangeDescription extends Object implements 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 "currentShadow" 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:
- 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()
Show the content of the object intended for diagnostics by system administrator.String
debugDump(int indent)
PrismObject<ShadowType>
getCurrentShadow()
ObjectDelta<ShadowType>
getObjectDelta()
PrismObject<ShadowType>
getOldShadow()
PrismObject<ResourceType>
getResource()
String
getSourceChannel()
boolean
isCleanDeadShadow()
boolean
isProtected()
boolean
isSimulate()
boolean
isUnrelatedChange()
void
setCleanDeadShadow(boolean cleanDeadShadow)
void
setCurrentShadow(PrismObject<ShadowType> currentShadow)
void
setObjectDelta(ObjectDelta<ShadowType> objectDelta)
void
setOldShadow(PrismObject<ShadowType> oldShadow)
void
setResource(PrismObject<ResourceType> resource)
void
setSimulate(boolean simulate)
void
setSourceChannel(String sourceChannel)
void
setUnrelatedChange(boolean unrelatedChange)
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
debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
getObjectDelta
public ObjectDelta<ShadowType> getObjectDelta()
-
setObjectDelta
public void setObjectDelta(ObjectDelta<ShadowType> objectDelta)
-
getCurrentShadow
public PrismObject<ShadowType> getCurrentShadow()
-
setCurrentShadow
public void setCurrentShadow(PrismObject<ShadowType> currentShadow)
-
getOldShadow
public PrismObject<ShadowType> getOldShadow()
-
setOldShadow
public void setOldShadow(PrismObject<ShadowType> oldShadow)
-
getSourceChannel
public String getSourceChannel()
-
setSourceChannel
public void setSourceChannel(String sourceChannel)
-
getResource
public PrismObject<ResourceType> getResource()
-
setResource
public void setResource(PrismObject<ResourceType> resource)
-
isUnrelatedChange
public boolean isUnrelatedChange()
-
setUnrelatedChange
public void setUnrelatedChange(boolean unrelatedChange)
-
isSimulate
public boolean isSimulate()
-
setSimulate
public void setSimulate(boolean simulate)
-
isCleanDeadShadow
public boolean isCleanDeadShadow()
-
setCleanDeadShadow
public void setCleanDeadShadow(boolean cleanDeadShadow)
-
checkConsistence
public void checkConsistence()
-
isProtected
public boolean isProtected()
-
debugDump
public String debugDump()
Description copied from interface:DebugDumpable
Show the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.- Specified by:
debugDump
in interfaceDebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-