Class BaseCredentials
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
- All Implemented Interfaces:
Credentials
,ExtensionPoint
,Describable<Credentials>
,Serializable
- Direct Known Subclasses:
BaseStandardCredentials
Base class for Credentials.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ModifierConstructorDescriptionprotected
BaseCredentials
(CredentialsScope scope) Creates an instance with specific scope. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun
-
Constructor Details
-
BaseCredentials
protected BaseCredentials() -
BaseCredentials
Creates an instance with specific scope.- Parameters:
scope
- the scope.
-
-
Method Details
-
getScope
Gets the scope of the credential.- Specified by:
getScope
in interfaceCredentials
- Returns:
- the scope of the credential.
-
getDescriptor
- Specified by:
getDescriptor
in interfaceCredentials
- Specified by:
getDescriptor
in interfaceDescribable<Credentials>
-