Class ScoringElement

java.lang.Object
org.apache.unomi.api.segments.ScoringElement
All Implemented Interfaces:
Serializable

public class ScoringElement extends Object implements Serializable
A scoring dimension along profiles can be evaluated and associated value to be assigned.
See Also:
  • Constructor Details

    • ScoringElement

      public ScoringElement()
      Instantiates a new Scoring element.
  • Method Details

    • getCondition

      public Condition getCondition()
      Retrieves the condition.
      Returns:
      the condition
    • setCondition

      public void setCondition(Condition condition)
      Sets the condition.
      Parameters:
      condition - the condition
    • getValue

      public int getValue()
      Retrieves the value.
      Returns:
      the value
    • setValue

      public void setValue(int value)
      Sets the value.
      Parameters:
      value - the value