public class ObjectTreeDeltas<T extends ObjectType> extends Object implements DebugDumpable
INDENT_STRING
Constructor and Description |
---|
ObjectTreeDeltas(ObjectDelta<T> focusChange,
PrismContext prismContext) |
ObjectTreeDeltas(PrismContext prismContext) |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
debugDumpLazily, debugDumpLazily
public ObjectTreeDeltas(PrismContext prismContext)
public ObjectTreeDeltas(ObjectDelta<T> focusChange, PrismContext prismContext)
public ObjectDelta<T> getFocusChange()
public ObjectDelta<ShadowType> getProjectionChange(ResourceShadowDiscriminator discriminator)
public Map<ResourceShadowDiscriminator,ObjectDelta<ShadowType>> getProjectionChangeMap()
public void setFocusChange(ObjectDelta<T> focusChange)
public void addProjectionChange(ResourceShadowDiscriminator resourceShadowDiscriminator, ObjectDelta<ShadowType> primaryDelta)
public boolean isEmpty()
public static boolean isEmpty(ObjectTreeDeltasType deltas)
public ObjectTreeDeltas<T> clone()
public Set<? extends Map.Entry<ResourceShadowDiscriminator,ObjectDelta<ShadowType>>> getProjectionChangeMapEntries()
public static String toObjectTreeDeltasTypeXml(ObjectTreeDeltas objectTreeDeltas) throws SchemaException
SchemaException
public static String toObjectTreeDeltasTypeXml(ObjectTreeDeltasType objectTreeDeltasType, PrismContext prismContext) throws SchemaException
SchemaException
public static ObjectTreeDeltasType toObjectTreeDeltasType(ObjectTreeDeltas objectTreeDeltas) throws SchemaException
SchemaException
@Contract(value="null, _ -> null; !null, _ -> !null") public static ObjectTreeDeltas fromObjectTreeDeltasType(ObjectTreeDeltasType deltasType, PrismContext prismContext) throws SchemaException
SchemaException
public List<ObjectDelta<? extends ObjectType>> getDeltaList()
public boolean subtractFromFocusDelta(@NotNull ItemPath itemPath, @NotNull PrismValue value, boolean fromMinus, boolean dryRun)
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
public void merge(ObjectTreeDeltas<T> deltasToMerge) throws SchemaException
SchemaException
public void mergeUnordered(ObjectTreeDeltas<T> deltasToMerge) throws SchemaException
SchemaException
public static ObjectTreeDeltasType mergeDeltas(ObjectTreeDeltasType deltaTree, ObjectDeltaType deltaToMerge, PrismContext prismContext) throws SchemaException
SchemaException
Copyright © 2020 Evolveum. All rights reserved.