public static class PathTemplatePredicate.Builder extends Object implements PredicateBuilder
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Predicate |
build(Map<String,Object> config)
Creates a predicate
|
String |
defaultParameter() |
String |
name()
The string representation of the predicate name.
|
Map<String,Class<?>> |
parameters()
Returns a map of parameters and their types.
|
Set<String> |
requiredParameters() |
public String name()
PredicateBuilder
name
in interface PredicateBuilder
public Map<String,Class<?>> parameters()
PredicateBuilder
parameters
in interface PredicateBuilder
public Set<String> requiredParameters()
requiredParameters
in interface PredicateBuilder
public String defaultParameter()
defaultParameter
in interface PredicateBuilder
public Predicate build(Map<String,Object> config)
PredicateBuilder
build
in interface PredicateBuilder
config
- The predicate configCopyright © 2016 JBoss by Red Hat. All rights reserved.