Class Segment

  • All Implemented Interfaces:
    Serializable

    public class Segment
    extends MetadataItem
    A dynamically evaluated group of similar profiles in order to categorize the associated users. To be considered part of a given segment, users must satisfies the segment’s condition. If they match, users are automatically added to the segment. Similarly, if at any given point during, they cease to satisfy the segment’s condition, they are automatically removed from it.
    See Also:
    Serialized Form
    • Constructor Detail

      • Segment

        public Segment()
        Instantiates a new Segment.
      • Segment

        public Segment​(Metadata metadata)
        Instantiates a new Segment with the specified metadata.
        Parameters:
        metadata - the metadata
    • Method Detail

      • getCondition

        public Condition getCondition()
        Retrieves the condition that users' Profile must satisfy in order to be considered member of this Segment.
        Returns:
        the condition that users must match
      • setCondition

        public void setCondition​(Condition condition)
        Sets the condition that users' Profile must satisfy in order to be considered member of this Segment.
        Parameters:
        condition - the condition that users must match