Class IdMatcher
java.lang.Object
com.cloudbees.plugins.credentials.matchers.IdMatcher
- All Implemented Interfaces:
CredentialsMatcher,Serializable
Matches credentials that are
IdCredentials and have the specified IdCredentials.getId().- Since:
- 1.5
- See Also:
-
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.
-
hashCode
public int hashCode() -
equals
-
toString
-