Class ExtensionQuery.Filter

java.lang.Object
org.xwiki.extension.repository.search.ExtensionQuery.Filter
Enclosing class:
ExtensionQuery

public static class ExtensionQuery.Filter extends Object
A filter to apply on an extension field.
Version:
$Id: 5af22c7e170f583a271af41a812636819409b36c $
  • Constructor Details

    • Filter

      public Filter(String field, Object value, ExtensionQuery.COMPARISON comparison)
      Parameters:
      field - the name of the field
      value - the value to compare to
      comparison - the comparison to apply
  • Method Details

    • getField

      public String getField()
      Returns:
      the name of the field
    • getValue

      public Object getValue()
      Returns:
      the value to compare to
    • getComparison

      public ExtensionQuery.COMPARISON getComparison()
      Returns:
      the comparison to apply
    • toString

      public String toString()
      Overrides:
      toString in class Object