Package org.eclipse.mat.query.refined
Class Filter
- java.lang.Object
-
- org.eclipse.mat.query.refined.Filter
-
public abstract class Filter extends java.lang.ObjectUsed to filter values in a result, to avoid displaying rows not matching the filter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFilter.ValueConverterA ValueConverter attached to a column modifies the cell before it is tested in a filter or displayed.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]FILTER_TYPES
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.StringgetCriteria()abstract java.lang.StringgetLabel()abstract booleanisActive()abstract booleansetCriteria(java.lang.String criteria)if an exceptions is thrown, the internal state stays untouched.
-
-
-
Method Detail
-
setCriteria
public abstract boolean setCriteria(java.lang.String criteria) throws java.lang.IllegalArgumentExceptionif an exceptions is thrown, the internal state stays untouched. Hence, no re-filtering necessary- Parameters:
criteria- for the filter- Returns:
- true if the filter criteria changed
- Throws:
java.lang.IllegalArgumentException
-
getCriteria
public abstract java.lang.String getCriteria()
-
getLabel
public abstract java.lang.String getLabel()
-
isActive
public abstract boolean isActive()
-
-