Package org.apache.unomi.api.services
Class PersonalizationService.Filter
- java.lang.Object
-
- org.apache.unomi.api.services.PersonalizationService.Filter
-
- Enclosing interface:
- PersonalizationService
public static class PersonalizationService.Filter extends Object
A filter definition for content filtering
-
-
Constructor Summary
Constructors Constructor Description Filter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PersonalizationService.Target>
getAppliesOn()
Retrieves the list of targets this filter applies on.Condition
getCondition()
Retrieves the condition associated with this filter.Map<String,Object>
getProperties()
void
setAppliesOn(List<PersonalizationService.Target> appliesOn)
Specifies which targets this filter applies on.void
setCondition(Condition condition)
Sets the condition associated with this filter.void
setProperties(Map<String,Object> properties)
-
-
-
Method Detail
-
getAppliesOn
public List<PersonalizationService.Target> getAppliesOn()
Retrieves the list of targets this filter applies on.- Returns:
- the applies on
-
setAppliesOn
public void setAppliesOn(List<PersonalizationService.Target> appliesOn)
Specifies which targets this filter applies on.- Parameters:
appliesOn
- the list ofPersonalizationService.Target
this filter should be applied on
-
getCondition
public Condition getCondition()
Retrieves the condition associated with this filter.- Returns:
- the condition associated with this filter
-
setCondition
public void setCondition(Condition condition)
Sets the condition associated with this filter.- Parameters:
condition
- the condition associated with this filter
-
-