Dashboard Builder Commons 6.0.0.Beta1

org.jboss.dashboard.commons.filter
Interface Filter

All Known Subinterfaces:
FilterByCriteria
All Known Implementing Classes:
AbstractFilter, ThreadProfileFilter

public interface Filter

An object filter.


Method Summary
 boolean pass(Map obj)
          Apply the filter to the given object.
 boolean pass(Object obj)
          Apply the filter to the given object.
 

Method Detail

pass

boolean pass(Map obj)
Apply the filter to the given object.

Parameters:
obj - A map containing pairs of [propertyId (String), propertyValue (Object)].
Returns:
true If the object satisfy the filter criteria.

pass

boolean pass(Object obj)
Apply the filter to the given object.

Parameters:
obj - An object to be evaluated.
Returns:
true If the object satisfy the filter criteria.

Dashboard Builder Commons 6.0.0.Beta1

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.