Class BaseMergeOperation<C extends Containerable>
java.lang.Object
com.evolveum.midpoint.schema.merger.BaseMergeOperation<C>
- Type Parameters:
C
- type of objects to be merged
- Direct Known Subclasses:
AssignmentMergeOperation
,CorrelatorMergeOperation
,ObjectTemplateMergeOperation
,ResourceMergeOperation
,ResourceObjectTypeDefinitionMergeOperation
,SimpleObjectMergeOperation
,SimulationDefinitionMergeOperation
Implements the actual merging of two objects (
Containerable
) of the same type.-
Constructor Summary
ConstructorDescriptionBaseMergeOperation
(C target, C source, @NotNull GenericItemMerger rootMerger) -
Method Summary
Modifier and TypeMethodDescriptionprotected static PathKeyedMap<ItemMerger>
createPathMap
(Map<ItemPath, ItemMerger> sourceMap) void
execute()
protected static boolean
hasValue
(PrismContainerValue<?> pcv, @NotNull ItemName itemName) static <C extends Containerable>
Cmerge
(C target, C source) A convenience method that merges two values without origin marking or custom config.
-
Constructor Details
-
BaseMergeOperation
public BaseMergeOperation(@NotNull C target, @NotNull C source, @NotNull @NotNull GenericItemMerger rootMerger)
-
-
Method Details
-
execute
-
hasValue
-
createPathMap
-
merge
public static <C extends Containerable> C merge(@Nullable C target, @Nullable C source) throws SchemaException, ConfigurationException A convenience method that merges two values without origin marking or custom config. Use as a starting point when you just need to merge twoContainerable
values.
-