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 classDescriptor to use for subclasses ofBaseStandardCredentials.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
IdCredentials.HelpersNested 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, getScopeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:
getDescriptionin interfaceStandardCredentials- Returns:
- the Description.
-
getId
Returns the ID.- Specified by:
getIdin interfaceIdCredentials- Returns:
- the ID.
-
hashCode
public final int hashCode() -
equals
-