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 of
Credentials
.
Note: This credential interface is a marker interface
- Since:
- 1.5
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
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
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScope
-
Method Details
-
getId
Returns the ID.- Returns:
- the ID.
-