Class IdMatcher
java.lang.Object
com.cloudbees.plugins.credentials.matchers.IdMatcher
- All Implemented Interfaces:
CredentialsMatcher,CredentialsMatcher.CQL,Serializable
Matches credentials that are
IdCredentials and have the specified IdCredentials.getId().- Since:
- 1.5
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.CredentialsMatcher
CredentialsMatcher.CQL -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdMatcher
Constructs a new instance.- Parameters:
id- the id to match.
-
-
Method Details
-
matches
Evaluates the matcher for the specified credentials.- Specified by:
matchesin interfaceCredentialsMatcher- Parameters:
item- the specified credentials.- Returns:
trueif and only if the specified credentials match.
-
describe
Describes this matcher in terms of a java-bean style query language- Specified by:
describein interfaceCredentialsMatcher.CQL- Returns:
- the description of the credentials matcher query or
nullif the matcher cannot be expressed in CQL.
-
hashCode
public int hashCode() -
equals
-
toString
-