public class ConstantMatcher extends Object implements CredentialsMatcher
| Constructor and Description |
|---|
ConstantMatcher(boolean match)
Constructs a new instance.
|
public ConstantMatcher(boolean match)
match - whether to match or not.public boolean matches(@NonNull
Credentials item)
matches in interface CredentialsMatcheritem - the specified credentials.true if and only if the specified credentials match.Copyright © 2004-2014. All Rights Reserved.