org.eclipse.mat.query.refined
Class Filter

java.lang.Object
  extended by org.eclipse.mat.query.refined.Filter

public abstract class Filter
extends java.lang.Object


Nested Class Summary
static interface Filter.ValueConverter
           
 
Field Summary
static java.lang.String[] FILTER_TYPES
           
 
Method Summary
abstract  java.lang.String getCriteria()
           
abstract  java.lang.String getLabel()
           
abstract  boolean isActive()
           
abstract  boolean setCriteria(java.lang.String criteria)
          if an exceptions is thrown, the internal state stays untouched.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_TYPES

public static final java.lang.String[] FILTER_TYPES
Method Detail

setCriteria

public abstract boolean setCriteria(java.lang.String criteria)
                             throws java.lang.IllegalArgumentException
if an exceptions is thrown, the internal state stays untouched. Hence, no re-filtering necessary

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()