public class RejectFilter extends Object implements CPResourceFilter
| Constructor and Description |
|---|
RejectFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Object subject)
Tells whether the given subject is accepted or not.
|
RejectFilter |
appendFilter(CPResourceFilter filter)
Appends another filter to this filter
|
RejectFilter |
combineWithAnd()
Combines the given filters with the logical 'and' operator
|
RejectFilter |
combineWithOr()
Combines the given filters with the logical 'or' operator.
|
boolean |
filterable(Object subject)
Tells if the given subject is filterable by this interface
|
String |
toString() |
public boolean accept(Object subject)
CPResourceFilteraccept in interface CPResourceFiltersubject - parameter to checkpublic boolean filterable(Object subject)
CPResourceFilterfilterable in interface CPResourceFilterpublic RejectFilter combineWithOr()
public RejectFilter combineWithAnd()
public RejectFilter appendFilter(CPResourceFilter filter)
filter - that need to be combined within thisCopyright © 2013. All Rights Reserved.