Interface StringCredentials
-
- All Superinterfaces:
com.cloudbees.plugins.credentials.Credentials
,Describable<com.cloudbees.plugins.credentials.Credentials>
,ExtensionPoint
,com.cloudbees.plugins.credentials.common.IdCredentials
,Serializable
,com.cloudbees.plugins.credentials.common.StandardCredentials
- All Known Implementing Classes:
StringCredentialsImpl
@NameWith(NameProvider.class) public interface StringCredentials extends com.cloudbees.plugins.credentials.common.StandardCredentials
Credentials consisting only of a single secret, such as a password or token.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StringCredentials.NameProvider
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Secret
getSecret()
Returns the wrapped secret value.
-
-
-
Method Detail
-
getSecret
@NonNull Secret getSecret()
Returns the wrapped secret value.- Returns:
- the encrypted value
-
-