public class ResourcePredicateImpl extends Object implements ResourcePredicates
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourcePredicateImpl.ResourcePredicateBuilderImpl |
ResourcePredicates.ResourcePredicateBuilder| Constructor and Description |
|---|
ResourcePredicateImpl() |
| Modifier and Type | Method and Description |
|---|---|
Predicate<org.apache.sling.api.resource.Resource> |
parse(String filter)
Creates a Predicate
|
Predicate<org.apache.sling.api.resource.Resource> |
parse(String filter,
String charEncoding)
Creates a Predicate
|
ResourcePredicates.ResourcePredicateBuilder |
usingParameterMap(Map<String,Object> params)
Replaces the existing parameter map with the supplied Map
|
ResourcePredicates.ResourcePredicateBuilder |
withParameter(String key,
Object value)
Adds a key - value pair that can then be evaluated as part of the
Predicate
|
ResourcePredicates.ResourcePredicateBuilder |
withParameters(Map<String,Object> params)
Add a series of key - value pairs that can then be evaluated as part of the
Predicate
|
public Predicate<org.apache.sling.api.resource.Resource> parse(String filter)
ResourcePredicatesparse in interface ResourcePredicatespublic Predicate<org.apache.sling.api.resource.Resource> parse(String filter, String charEncoding)
ResourcePredicatesparse in interface ResourcePredicatespublic ResourcePredicates.ResourcePredicateBuilder withParameters(Map<String,Object> params)
ResourcePredicateswithParameters in interface ResourcePredicatesparams - Map of Key - Value pairspublic ResourcePredicates.ResourcePredicateBuilder withParameter(String key, Object value)
ResourcePredicateswithParameter in interface ResourcePredicatespublic ResourcePredicates.ResourcePredicateBuilder usingParameterMap(Map<String,Object> params)
ResourcePredicatesusingParameterMap in interface ResourcePredicatesCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.