Class UsernamePasswordCredentials.NameProvider
java.lang.Object
com.cloudbees.plugins.credentials.CredentialsNameProvider<UsernamePasswordCredentials>
com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials.NameProvider
- Enclosing interface:
- UsernamePasswordCredentials
public static class UsernamePasswordCredentials.NameProvider
extends CredentialsNameProvider<UsernamePasswordCredentials>
Our name provider.
- Since:
- 1.7
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName
(UsernamePasswordCredentials credentials) Name the credential.Methods inherited from class com.cloudbees.plugins.credentials.CredentialsNameProvider
name
-
Constructor Details
-
NameProvider
public NameProvider()
-
-
Method Details
-
getName
Name the credential.- Specified by:
getName
in classCredentialsNameProvider<UsernamePasswordCredentials>
- Parameters:
credentials
- the credential to name.- Returns:
- the name.
-