Class BaseStandardCredentials
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
- All Implemented Interfaces:
IdCredentials
,StandardCredentials
,Credentials
,ExtensionPoint
,Describable<Credentials>
,Serializable
- Direct Known Subclasses:
CertificateCredentialsImpl
,UsernamePasswordCredentialsImpl
@ExportedBean
public abstract class BaseStandardCredentials
extends BaseCredentials
implements StandardCredentials
Base class for
StandardCredentials
.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Descriptor to use for subclasses ofBaseStandardCredentials
.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
IdCredentials.Helpers
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
StandardCredentials.NameProvider
-
Constructor Summary
ConstructorsConstructorDescriptionBaseStandardCredentials
(CredentialsScope scope, String id, String description) Constructor.BaseStandardCredentials
(String id, String description) Constructor. -
Method Summary
Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScope
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScope
-
Constructor Details
-
BaseStandardCredentials
Constructor.- Parameters:
id
- the id.description
- the description.
-
BaseStandardCredentials
public BaseStandardCredentials(@CheckForNull CredentialsScope scope, @CheckForNull String id, @CheckForNull String description) Constructor.- Parameters:
scope
- the scope.id
- the id.description
- the description.
-
-
Method Details
-
getDescription
Returns the Description.- Specified by:
getDescription
in interfaceStandardCredentials
- Returns:
- the Description.
-
getId
Returns the ID.- Specified by:
getId
in interfaceIdCredentials
- Returns:
- the ID.
-
hashCode
public final int hashCode() -
equals
-