com.evolveum.midpoint.provisioning.api
Class ResourceObjectShadowChangeDescription
java.lang.Object
com.evolveum.midpoint.provisioning.api.ResourceObjectShadowChangeDescription
- All Implemented Interfaces:
- DebugDumpable, Dumpable
public class ResourceObjectShadowChangeDescription
- extends java.lang.Object
- implements Dumpable, DebugDumpable
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ResourceObjectShadowChangeDescription
public ResourceObjectShadowChangeDescription()
getObjectDelta
public ObjectDelta<? extends ResourceObjectShadowType> getObjectDelta()
setObjectDelta
public void setObjectDelta(ObjectDelta<? extends ResourceObjectShadowType> objectDelta)
getCurrentShadow
public ResourceObjectShadowType getCurrentShadow()
setCurrentShadow
public void setCurrentShadow(ResourceObjectShadowType currentShadow)
getOldShadow
public ResourceObjectShadowType getOldShadow()
setOldShadow
public void setOldShadow(ResourceObjectShadowType oldShadow)
getSourceChannel
public java.lang.String getSourceChannel()
setSourceChannel
public void setSourceChannel(java.lang.String sourceChannel)
getResource
public ResourceType getResource()
setResource
public void setResource(ResourceType resource)
assertCorrectness
public void assertCorrectness()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
dump
public java.lang.String dump()
- Description copied from interface:
Dumpable
- Show the content of the object intended for diagnostics by developer.
The content may be multi-line, in case of hierarchical objects it may be intended.
The use of this method may not be efficient. It is not supposed to be used in normal operation.
However, it is very useful in tests or in case of dumping objects in severe error situations.
- Specified by:
dump
in interface Dumpable
- Returns:
- content of the object intended for diagnostics.
debugDump
public java.lang.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 interface DebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
debugDump
public java.lang.String debugDump(int indent)
- Specified by:
debugDump
in interface DebugDumpable
Copyright © 2012 evolveum. All Rights Reserved.