| Modifier and Type | Field and Description | 
|---|---|
| static String | LIST | 
| static String | TREEMAP | 
| Modifier and Type | Method and Description | 
|---|---|
| Filter | add(Criterion criterion) | 
| Filter | add(FilterColumn column)Add a  FilterColumnto the list of columns displayed by thisFilter. | 
| static Filter | create()Creates a new  Filter. | 
| List<FilterColumn> | getColumns()Get the list of  FilterColumndisplayed by thisFilter. | 
| List<Criterion> | getCriteria() | 
| String | getDisplayAs()Get the type of display used by this  Filter. | 
| int | getPageSize()Get the size of a page displayed this  Filter. | 
| boolean | isFavouritesOnly()The  Filtercan be configured to return only favourites. | 
| Filter | setDisplayAs(String displayAs)Set the type of display used by this  Filter. | 
| Filter | setFavouritesOnly(boolean favouritesOnly)The  Filtercan be configured to return only favourites. | 
| Filter | setPageSize(int pageSize)Set the size of a page displayed this  Filter. | 
public static final String LIST
public static final String TREEMAP
public List<Criterion> getCriteria()
public List<FilterColumn> getColumns()
FilterColumn displayed by this Filter.public Filter add(FilterColumn column)
FilterColumn to the list of columns displayed by this Filter.public boolean isFavouritesOnly()
Filter can be configured to return only favourites.true if favourites only are returnedpublic Filter setFavouritesOnly(boolean favouritesOnly)
Filter can be configured to return only favourites.public String getDisplayAs()
Filter.
 
 Can be either #LIST or #TREEMAP
public Filter setDisplayAs(String displayAs)
Filter.
 
 Can be either #LIST or #TREEMAP
IllegalArgumentException - if displayAs is not #LIST or #TREEMAPpublic int getPageSize()
Filter.
 
 The page size is between 20 and 200 (included)
public Filter setPageSize(int pageSize)
Filter.
 
 The page size should be between 20 and 200 (included)
IllegalArgumentException - if pageSize is not lower than 20 or greater than 200Copyright © 2009–2016 SonarSource. All rights reserved.