com.atlassian.core.util.filter
Class FilterChain

java.lang.Object
  extended bycom.atlassian.core.util.filter.FilterChain
All Implemented Interfaces:
Filter

public class FilterChain
extends java.lang.Object
implements Filter

Composite Filter that applies a series of filters in turn. By default, the composite filter lets all objects through, so a composite filter with no filters added,


Constructor Summary
FilterChain()
           
 
Method Summary
 void addFilter(Filter filter)
           
 boolean isIncluded(java.lang.Object o)
          Should an object be allowed through the filter?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterChain

public FilterChain()
Method Detail

addFilter

public void addFilter(Filter filter)

isIncluded

public boolean isIncluded(java.lang.Object o)
Description copied from interface: Filter
Should an object be allowed through the filter?

Specified by:
isIncluded in interface Filter
Returns:
true if the object can pass through the filter, false if the object is rejected by the filter.


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.