Class ProfileToImport

java.lang.Object
org.apache.unomi.api.Item
org.apache.unomi.api.Profile
org.apache.unomi.router.api.ProfileToImport
All Implemented Interfaces:
Serializable, SystemPropertiesItem

public class ProfileToImport extends Profile
An extension of Profile to handle merge strategy and deletion when importing profiles
See Also:
  • Constructor Details

    • ProfileToImport

      public ProfileToImport()
  • Method Details

    • getPropertiesToOverwrite

      public List<String> getPropertiesToOverwrite()
    • setPropertiesToOverwrite

      public void setPropertiesToOverwrite(List<String> propertiesToOverwrite)
    • isProfileToDelete

      public boolean isProfileToDelete()
    • setProfileToDelete

      public void setProfileToDelete(boolean profileToDelete)
    • isOverwriteExistingProfiles

      public boolean isOverwriteExistingProfiles()
    • setOverwriteExistingProfiles

      public void setOverwriteExistingProfiles(boolean overwriteExistingProfiles)
      Sets the overwriteExistingProfiles flag.
      Parameters:
      overwriteExistingProfiles - flag used to specify if we want to overwrite existing profiles
    • getMergingProperty

      public String getMergingProperty()
    • setMergingProperty

      public void setMergingProperty(String mergingProperty)
      Sets the merging property.
      Parameters:
      mergingProperty - property used to check if the profile exist when merging