Class ActivityTypeExpression

java.lang.Object
org.ametys.plugins.repository.activities.ActivityTypeExpression
All Implemented Interfaces:
Expression

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

    • ActivityTypeExpression

      Creates the expression.
      Parameters:
      operator - the operator to make the comparison (only Operator.EQ and Operator.NE allowed)
      value - the activity type id value
    • ActivityTypeExpression

      public ActivityTypeExpression(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 activity' type values
  • 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.