Class NonEmptyPropertyMergeStrategyExecutor

java.lang.Object
org.apache.unomi.services.mergers.NonEmptyPropertyMergeStrategyExecutor
All Implemented Interfaces:
PropertyMergeStrategyExecutor

public class NonEmptyPropertyMergeStrategyExecutor extends Object implements PropertyMergeStrategyExecutor
todo not yet implemented !
  • Constructor Details

    • NonEmptyPropertyMergeStrategyExecutor

      public NonEmptyPropertyMergeStrategyExecutor()
  • Method Details

    • mergeProperty

      public boolean mergeProperty(String propertyName, PropertyType propertyType, List<Profile> profilesToMerge, Profile targetProfile)
      Description copied from interface: PropertyMergeStrategyExecutor
      Merges the value of the property identified by the specified name and type from the specified profiles into the specified target profile.
      Specified by:
      mergeProperty in interface PropertyMergeStrategyExecutor
      Parameters:
      propertyName - the name of the property to be merged
      propertyType - the type of the property to be merged
      profilesToMerge - a List of profiles to merge
      targetProfile - the target profile into which the specified profiles will be merged
      Returns:
      true if the target profile was successfully modified as the result of the merge, false otherwise