Class EntityAttributesPredicate.Candidate
java.lang.Object
org.opensaml.saml.common.profile.logic.EntityAttributesPredicate.Candidate
- Enclosing class:
- EntityAttributesPredicate
An object to encapsulate the set of criteria that must be satisfied by an
EntityAttributes
extension to satisfy the enclosing predicate.
All of the value and regular expression criteria provided must match for the individual object's result to be "true".
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the Attribute Name to match.Get the Attribute NameFormat to match.Get the regular expressions to match.Get the exact values to match.voidsetRegexps(Collection<Pattern> exps) Set the regular expressions to match.voidsetValues(Collection<String> vals) Set the exact values to match.
-
Field Details
-
nam
Attribute Name. -
nameFormat
Attribute NameFormat. -
values
Values that must match exactly. -
regexps
Regular expressions that must be satisfied.
-
-
Constructor Details
-
Candidate
Constructor.- Parameters:
name- Attribute Name to match
-
Candidate
public Candidate(@Nonnull @NotEmpty @ParameterName(name="name") String name, @Nullable @ParameterName(name="format") String format) Constructor.- Parameters:
name- Attribute Name to matchformat- Attribute NameFormat to match
-
-
Method Details
-
getName
Get the Attribute Name to match.- Returns:
- Attribute Name to match
-
getNameFormat
Get the Attribute NameFormat to match.- Returns:
- Attribute NameFormat to match
-
getValues
Get the exact values to match.- Returns:
- the exact values to match
-
setValues
Set the exact values to match.- Parameters:
vals- the exact values to match
-
getRegexps
Get the regular expressions to match.- Returns:
- the regular expressions to match.
-
setRegexps
Set the regular expressions to match.- Parameters:
exps- the regular expressions to match
-