Interface IdCredentials
-
- All Superinterfaces:
Credentials
,Describable<Credentials>
,ExtensionPoint
,Serializable
- All Known Subinterfaces:
StandardCertificateCredentials
,StandardCredentials
,StandardUsernameCredentials
,StandardUsernamePasswordCredentials
- All Known Implementing Classes:
BaseStandardCredentials
,CertificateCredentialsImpl
,UsernamePasswordCredentialsImpl
@LegacyMixIn(preferred=StandardCredentials.class) public interface IdCredentials extends Credentials
Credentials that have an unique ID that assists in retrieving the specific credential from a collection ofCredentials
.Note: This credential interface is a marker interface
- Since:
- 1.5
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IdCredentials.Helpers
The contract implementations ofObject.equals(Object)
andObject.hashCode()
that implementations of this class must use as the basis for equality tests and as the hash code.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
Returns the ID.-
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScope
-
-
-
-
Method Detail
-
getId
@NonNull String getId()
Returns the ID.- Returns:
- the ID.
-
-