Interface PasswordCredentials
-
- All Superinterfaces:
Credentials
,Describable<Credentials>
,ExtensionPoint
,Serializable
- All Known Subinterfaces:
CertificateCredentials
,StandardCertificateCredentials
,StandardUsernamePasswordCredentials
,UsernamePasswordCredentials
- All Known Implementing Classes:
CertificateCredentialsImpl
,UsernamePasswordCredentialsImpl
@LegacyMixIn(preferred=StandardUsernamePasswordCredentials.class) public interface PasswordCredentials extends Credentials
Credentials that have a password component.- Since:
- 1.5
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Secret
getPassword()
Returns the Password.-
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScope
-
-
-
-
Method Detail
-
getPassword
@NonNull Secret getPassword()
Returns the Password.- Returns:
- the password.
-
-