Uses of Class
com.cedarsoftware.util.GraphComparator.Delta
Packages that use GraphComparator.Delta
-
Uses of GraphComparator.Delta in com.cedarsoftware.util
Subclasses of GraphComparator.Delta in com.cedarsoftware.utilModifier and TypeClassDescriptionstatic class
Extension ofGraphComparator.Delta
that associates an error message with the delta that failed to be applied.Methods in com.cedarsoftware.util that return types with arguments of type GraphComparator.DeltaModifier and TypeMethodDescriptionstatic List<GraphComparator.Delta>
GraphComparator.compare
(Object source, Object target, GraphComparator.ID idFetcher) Perform the asymmetric graph delta.Methods in com.cedarsoftware.util with parameters of type GraphComparator.DeltaModifier and TypeMethodDescriptionvoid
GraphComparator.DeltaProcessor.processArrayResize
(Object srcValue, Field field, GraphComparator.Delta delta) Resize an array to match the target length.void
GraphComparator.DeltaProcessor.processArraySetElement
(Object srcValue, Field field, GraphComparator.Delta delta) Apply a value into an array element.void
GraphComparator.DeltaProcessor.processListResize
(Object srcValue, Field field, GraphComparator.Delta delta) Adjust aList
's size.void
GraphComparator.DeltaProcessor.processListSetElement
(Object srcValue, Field field, GraphComparator.Delta delta) Set a list element to a new value.void
GraphComparator.DeltaProcessor.processMapPut
(Object srcValue, Field field, GraphComparator.Delta delta) Put a key/value pair into aMap
.void
GraphComparator.DeltaProcessor.processMapRemove
(Object srcValue, Field field, GraphComparator.Delta delta) Remove an entry from aMap
.void
GraphComparator.DeltaProcessor.processObjectAssignField
(Object srcValue, Field field, GraphComparator.Delta delta) Assign a field value on an object.void
GraphComparator.DeltaProcessor.processObjectOrphan
(Object srcValue, Field field, GraphComparator.Delta delta) Remove an orphaned object from the graph.void
GraphComparator.DeltaProcessor.processObjectTypeChanged
(Object srcValue, Field field, GraphComparator.Delta delta) Change the type of an object reference.void
GraphComparator.DeltaProcessor.processSetAdd
(Object srcValue, Field field, GraphComparator.Delta delta) Add a value to aSet
.void
GraphComparator.DeltaProcessor.processSetRemove
(Object srcValue, Field field, GraphComparator.Delta delta) Remove a value from aSet
.Method parameters in com.cedarsoftware.util with type arguments of type GraphComparator.DeltaModifier and TypeMethodDescriptionstatic List<GraphComparator.DeltaError>
GraphComparator.applyDelta
(Object source, List<GraphComparator.Delta> commands, GraphComparator.ID idFetcher, GraphComparator.DeltaProcessor deltaProcessor, boolean... failFast) Apply the Delta commands to the source object graph, making the requested changes to the source graph.Constructors in com.cedarsoftware.util with parameters of type GraphComparator.DeltaModifierConstructorDescriptionDeltaError
(String error, GraphComparator.Delta delta) Construct a delta error.