public class AnyTypesPredicate extends Object implements UncheckedPredicate<javax.jcr.Node>
| Modifier and Type | Field and Description |
|---|---|
protected Collection<String> |
nodeTypes |
| Constructor and Description |
|---|
AnyTypesPredicate(String... types)
True if any of the types specified match.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
testThrows(javax.jcr.Node input)
The same semantic as
UncheckedPredicate.test(Object), but allowed to throw a RepositoryException |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, test, uncheckand, isEqual, negate, orprotected final Collection<String> nodeTypes
public AnyTypesPredicate(String... types)
types - the typespublic boolean testThrows(javax.jcr.Node input)
throws javax.jcr.RepositoryException
UncheckedPredicateUncheckedPredicate.test(Object), but allowed to throw a RepositoryExceptiontestThrows in interface UncheckedPredicate<javax.jcr.Node>javax.jcr.RepositoryExceptionCopyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.