Class RequiredItemMerger

  • All Implemented Interfaces:
    ItemMerger

    public class RequiredItemMerger
    extends Object
    implements ItemMerger
    Does no actual data movement; just requires that the value does exist in the target object.
    • Constructor Detail

      • RequiredItemMerger

        public RequiredItemMerger()
    • Method Detail

      • merge

        public void merge​(@NotNull
                          @NotNull ItemName itemName,
                          @NotNull
                          @NotNull PrismContainerValue<?> target,
                          @NotNull
                          @NotNull PrismContainerValue<?> source)
                   throws ConfigurationException
        Description copied from interface: ItemMerger
        Merges all data about specific item (named `itemName`) from `source` container value to `target` one, according to (its own) strategy. So, `source` is not modified; the `target` is. The implementation is responsible for setting origin information on all prism values copied from `source` to `target`.
        Specified by:
        merge in interface ItemMerger
        Throws:
        ConfigurationException