Package org.apache.unomi.api.segments
Class Scoring
java.lang.Object
org.apache.unomi.api.Item
org.apache.unomi.api.MetadataItem
org.apache.unomi.api.segments.Scoring
- All Implemented Interfaces:
Serializable
A set of conditions associated with a value to assign to
Profiles when matching so that the associated users can be scored along that
dimension. Each ScoringElement is evaluated and matching profiles' scores are incremented with the associated value.- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.unomi.api.MetadataItem
metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the details of this Scoring.voidsetElements(List<ScoringElement> elements) Sets the elements.Methods inherited from class org.apache.unomi.api.MetadataItem
getMetadata, getScope, setMetadataMethods inherited from class org.apache.unomi.api.Item
equals, getItemId, getItemType, getItemType, getSystemMetadata, getVersion, hashCode, setItemId, setItemType, setScope, setSystemMetadata, setVersion
-
Field Details
-
ITEM_TYPE
The Scoring ITEM_TYPE.
-
-
Constructor Details
-
Scoring
public Scoring()Instantiates a new Scoring. -
Scoring
Instantiates a new Scoring with the specified metadata.- Parameters:
metadata- the metadata
-
-
Method Details
-
getElements
Retrieves the details of this Scoring.- Returns:
- the elements
-
setElements
Sets the elements.- Parameters:
elements- the elements
-