@API(status=INTERNAL, since="1.1") public interface TagExpression
A tag expression can be evaluated against a collection of tags to determine if they match the expression.
Since:
1.1
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Evaluate this tag expression against the supplied collection of tags.
    parseFrom(String infixTagExpression)
    Attempt to parse a TagExpression from the supplied tag expression string.
  • Method Details

    • parseFrom

      @API(status=INTERNAL, since="1.1") static ParseResult parseFrom(String infixTagExpression)
      Attempt to parse a TagExpression from the supplied tag expression string.
      Parameters:
      infixTagExpression - the tag expression string to parse; never null.
      See Also:
    • evaluate

      boolean evaluate(Collection<TestTag> tags)
      Evaluate this tag expression against the supplied collection of tags.
      Parameters:
      tags - the tags this tag expression is to be evaluated against
      Returns:
      true, if the tags match this tag expression; false, otherwise