Interface TagCriteria

All Known Subinterfaces:
UserEventFilter, UserMetadataFilter
All Known Implementing Classes:
BasicUserEventFilter, BasicUserMetadataFilter

public interface TagCriteria
Criteria API for a "tag" qualifier.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Get the first tag.
    Get an array of tags.
    default boolean
    Test if any tag criteria exists.
  • Method Details

    • hasTagCriteria

      default boolean hasTagCriteria()
      Test if any tag criteria exists.
      Returns:
      true if a tag criteria exists
    • getTags

      String[] getTags()
      Get an array of tags.
      Returns:
      array of tags (may be null)
    • getTag

      default String getTag()
      Get the first tag.

      This returns the first available tag from the getTags() array, or null if not available.

      Returns:
      the tag, or null if not available