Interface StandardCredentials
-
- All Superinterfaces:
Credentials
,Describable<Credentials>
,ExtensionPoint
,IdCredentials
,Serializable
- All Known Subinterfaces:
StandardCertificateCredentials
,StandardUsernameCredentials
,StandardUsernamePasswordCredentials
- All Known Implementing Classes:
BaseStandardCredentials
,CertificateCredentialsImpl
,UsernamePasswordCredentialsImpl
@Recommended(since="1.6") @NameWith(value=NameProvider.class, priority=-16) public interface StandardCredentials extends IdCredentials
Credentials that have a description to help the user differentiate the specific credential from a collection ofCredentials
and an ID to helpJenkins
locate the specific credential from a collection ofCredentials
. Most credentials should aim to implement this interface.- Since:
- 1.6
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StandardCredentials.NameProvider
Our name provider.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
IdCredentials.Helpers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Returns the Description.-
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScope
-
Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
getId
-
-
-
-
Method Detail
-
getDescription
@NonNull String getDescription()
Returns the Description.- Returns:
- the Description.
-
-