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.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Secret getSecret()
      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 Detail

      • getSecret

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