Package org.apache.unomi.router.api
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 ofProfile
to handle merge strategy and deletion when importing profiles- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileToImport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMergingProperty()
List<String>
getPropertiesToOverwrite()
boolean
isOverwriteExistingProfiles()
boolean
isProfileToDelete()
void
setMergingProperty(String mergingProperty)
Sets the merging property.void
setOverwriteExistingProfiles(boolean overwriteExistingProfiles)
Sets the overwriteExistingProfiles flag.void
setProfileToDelete(boolean profileToDelete)
void
setPropertiesToOverwrite(List<String> propertiesToOverwrite)
-
Methods inherited from class org.apache.unomi.api.Profile
getConsents, getMergedWith, getNestedProperty, getProperties, getProperty, getScope, getScores, getSegments, getSystemProperties, isAnonymousProfile, setConsent, setMergedWith, setProperties, setProperty, setScores, setSegments, setSystemProperties, setSystemProperty, toString
-
Methods inherited from class org.apache.unomi.api.Item
equals, getItemId, getItemType, getItemType, getSystemMetadata, getVersion, hashCode, setItemId, setItemType, setScope, setSystemMetadata, setVersion
-
-
-
-
Method Detail
-
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
-
-