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 
     

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the wrapped secret value.

    Methods inherited from interface com.cloudbees.plugins.credentials.Credentials

    forRun, getDescriptor, getScope

    Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    getId

    Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

    getDescription
  • Method Details

    • getSecret

      @NonNull Secret getSecret()
      Returns the wrapped secret value.
      Returns:
      the encrypted value