public class AlwaysPredicate extends Object implements BasePredicate
Modifier and Type | Field and Description |
---|---|
static AlwaysPredicate |
INSTANCE |
Constructor and Description |
---|
AlwaysPredicate() |
Modifier and Type | Method and Description |
---|---|
void |
accept(PredicateVisitor visitor)
Accept the given visitor.
|
boolean |
evaluate(Resource resource)
Evaluate the predicate for the given resource.
|
Set<String> |
getPropertyIds() |
String |
toString() |
public static final AlwaysPredicate INSTANCE
public boolean evaluate(Resource resource)
Predicate
public Set<String> getPropertyIds()
getPropertyIds
in interface BasePredicate
public void accept(PredicateVisitor visitor)
PredicateVisitorAcceptor
accept
in interface PredicateVisitorAcceptor
visitor
- the visitorCopyright © 2022 Apache Software Foundation. All rights reserved.