Class EventTypeExpression

java.lang.Object
org.ametys.plugins.repository.events.EventTypeExpression
All Implemented Interfaces:
Expression

public class EventTypeExpression extends Object implements Expression
Constructs an Expression corresponding to a event'type comparison.
  • Constructor Details

    • EventTypeExpression

      Creates the expression.
      Parameters:
      operator - the operator to make the comparison (only Operator.EQ and Operator.NE allowed)
      value - the tag value
    • EventTypeExpression

      public EventTypeExpression(Expression.Operator operator, String... values)
      Creates the expression.
      Parameters:
      operator - the operator to make the comparison (only Operator.EQ and Operator.NE allowed)
      values - the events' type value
  • Method Details

    • build

      public String build()
      Description copied from interface: Expression
      Build the expression.
      Specified by:
      build in interface Expression
      Returns:
      The XPath view of the expression.