java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.jenkins.plugins.sshcredentials.impl.BaseSSHUser
All Implemented Interfaces:
SSHUser, com.cloudbees.plugins.credentials.common.IdCredentials, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.common.StandardUsernameCredentials, com.cloudbees.plugins.credentials.common.UsernameCredentials, com.cloudbees.plugins.credentials.Credentials, ExtensionPoint, Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable
Direct Known Subclasses:
BasicSSHUserPassword, BasicSSHUserPrivateKey

public class BaseSSHUser extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements SSHUser, com.cloudbees.plugins.credentials.common.StandardUsernameCredentials
Since:
28/02/2012 13:44
Author:
stephenc
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

    com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor

    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

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

    com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider

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

    com.cloudbees.plugins.credentials.common.StandardUsernameCredentials.NameProvider
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final String
    The username.
  • Constructor Summary

    Constructors
    Constructor
    Description
    BaseSSHUser(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String username, String description)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected Object
     
    void
    setUsernameSecret(boolean usernameSecret)
     

    Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

    equals, getDescription, getId, hashCode

    Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials

    getDescriptor, getScope

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    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
  • Field Details

    • username

      protected final String username
      The username.
  • Constructor Details

    • BaseSSHUser

      public BaseSSHUser(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String username, String description)
  • Method Details

    • readResolve

      protected Object readResolve()
    • getUsername

      @NonNull public String getUsername()
      Specified by:
      getUsername in interface com.cloudbees.plugins.credentials.common.UsernameCredentials
    • isUsernameSecret

      public boolean isUsernameSecret()
      Specified by:
      isUsernameSecret in interface com.cloudbees.plugins.credentials.common.UsernameCredentials
    • setUsernameSecret

      @DataBoundSetter public void setUsernameSecret(boolean usernameSecret)