|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.graph.FilterUtils
public class FilterUtils
Provides methods for searching a filter hierarchy for a filter of a given class.
Method Summary | |
---|---|
static org.apache.commons.collections.Predicate |
findPredicate(org.apache.commons.collections.Predicate root,
java.lang.Class type)
Returns a predicate of the specified class somewhere in the predicate hierarchy or null if the type isn't found. |
static boolean |
supportsGraph(org.apache.commons.collections.Predicate root,
com.phoenixst.plexus.Graph graph)
Returns false if any of the contained filters are TargetedFilter and also return false for their supportsGraph() method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.apache.commons.collections.Predicate findPredicate(org.apache.commons.collections.Predicate root, java.lang.Class type)
public static boolean supportsGraph(org.apache.commons.collections.Predicate root, com.phoenixst.plexus.Graph graph)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |