public class AllOfMatcher extends Object implements CredentialsMatcher, CredentialsMatcher.CQL
CredentialsMatcher.CQL| Constructor and Description |
|---|
AllOfMatcher(List<CredentialsMatcher> matchers)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
describe()
Describes this matcher in terms of a java-bean style query language
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
matches(Credentials item)
Evaluates the matcher for the specified credentials.
|
String |
toString() |
public AllOfMatcher(@CheckForNull
List<CredentialsMatcher> matchers)
matchers - the matchers to match.public boolean matches(@NonNull
Credentials item)
matches in interface CredentialsMatcheritem - the specified credentials.true if and only if the specified credentials match.@CheckForNull public String describe()
describe in interface CredentialsMatcher.CQLnull if the matcher cannot be expressed
in CQL.Copyright © 2016–2018. All rights reserved.