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, wait
apply, test, uncheck
protected final Collection<String> nodeTypes
public AnyTypesPredicate(String... types)
types
- the typespublic boolean testThrows(javax.jcr.Node input) throws javax.jcr.RepositoryException
UncheckedPredicate
UncheckedPredicate.test(Object)
, but allowed to throw a RepositoryException
testThrows
in interface UncheckedPredicate<javax.jcr.Node>
javax.jcr.RepositoryException
Copyright © 2013–2015 DuraSpace, Inc.. All rights reserved.