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 Summary
Constructors Constructor Description Filter(String field, Object value, ExtensionQuery.COMPARISON comparison)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionQuery.COMPARISONgetComparison()StringgetField()ObjectgetValue()StringtoString()
-
-
-
Constructor Detail
-
Filter
public Filter(String field, Object value, ExtensionQuery.COMPARISON comparison)
- Parameters:
field- the name of the fieldvalue- the value to compare tocomparison- the comparison to apply
-
-
Method Detail
-
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
-
-