Class SSHUserListBoxModel

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<ListBoxModel.Option>
hudson.util.ListBoxModel
com.cloudbees.plugins.credentials.common.AbstractIdCredentialsListBoxModel<SSHUserListBoxModel,com.cloudbees.plugins.credentials.common.StandardUsernameCredentials>
com.cloudbees.jenkins.plugins.sshcredentials.SSHUserListBoxModel
All Implemented Interfaces:
Serializable, Cloneable, Iterable<ListBoxModel.Option>, Collection<ListBoxModel.Option>, List<ListBoxModel.Option>, RandomAccess, org.kohsuke.stapler.HttpResponse

public class SSHUserListBoxModel extends com.cloudbees.plugins.credentials.common.AbstractIdCredentialsListBoxModel<SSHUserListBoxModel,com.cloudbees.plugins.credentials.common.StandardUsernameCredentials>
Deprecated.
Use StandardUsernameListBoxModel with SSHAuthenticator instead.
See Also:
  • Constructor Details

    • SSHUserListBoxModel

      public SSHUserListBoxModel()
      Deprecated.
  • Method Details

    • describe

      @NonNull protected String describe(@NonNull com.cloudbees.plugins.credentials.common.StandardUsernameCredentials c)
      Deprecated.
      Specified by:
      describe in class com.cloudbees.plugins.credentials.common.AbstractIdCredentialsListBoxModel<SSHUserListBoxModel,com.cloudbees.plugins.credentials.common.StandardUsernameCredentials>
    • add

      @Deprecated public SSHUserListBoxModel add(com.cloudbees.plugins.credentials.common.StandardUsernameCredentials u)
      Deprecated.
      use AbstractIdCredentialsListBoxModel.with(com.cloudbees.plugins.credentials.common.IdCredentials)
    • addCollection

      @Deprecated public SSHUserListBoxModel addCollection(Collection<? extends com.cloudbees.plugins.credentials.common.StandardUsernameCredentials> col)
      Deprecated.
      use AbstractIdCredentialsListBoxModel.withMatching(CredentialsMatcher, Iterable) or AbstractIdCredentialsListBoxModel.withAll(Iterable)
      Adds a collection of credentials (they will be filtered with SSHAuthenticator.matcher() implicitly).
      Parameters:
      col - the collection of credentials.
      Returns:
      this for method chaining.
    • addSystemScopeCredentials

      @Deprecated public SSHUserListBoxModel addSystemScopeCredentials()
      Adds all the system-scoped credentials (they will be filtered with SSHAuthenticator.matcher() implicitly).

      These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

      Returns:
      this for method chaining.
    • withSystemScopeCredentials

      public SSHUserListBoxModel withSystemScopeCredentials()
      Deprecated.
      Adds all the system-scoped credentials (they will be filtered with SSHAuthenticator.matcher() implicitly).

      These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

      Returns:
      this for method chaining.
    • withSystemScopeCredentials

      public SSHUserListBoxModel withSystemScopeCredentials(com.cloudbees.plugins.credentials.domains.DomainRequirement... domainRequirements)
      Deprecated.
      Adds all the system-scoped credentials (they will be filtered with SSHAuthenticator.matcher() implicitly).

      These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

      Parameters:
      domainRequirements - the domain requirements
      Returns:
      this for method chaining.
    • withSystemScopeCredentials

      public SSHUserListBoxModel withSystemScopeCredentials(com.cloudbees.plugins.credentials.CredentialsMatcher matcher, com.cloudbees.plugins.credentials.domains.DomainRequirement... domainRequirements)
      Deprecated.
      Adds all the system-scoped credentials.

      These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

      Parameters:
      matcher - a matcher to filter the credentials
      domainRequirements - the domain requirements
      Returns:
      this for method chaining.
    • withSystemScopeCredentials

      public SSHUserListBoxModel withSystemScopeCredentials(List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
      Deprecated.
      Adds all the system-scoped credentials (they will be filtered with SSHAuthenticator.matcher() implicitly).

      These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

      Parameters:
      domainRequirements - the domain requirements
      Returns:
      this for method chaining.
    • withSystemScopeCredentials

      public SSHUserListBoxModel withSystemScopeCredentials(com.cloudbees.plugins.credentials.CredentialsMatcher matcher, List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
      Deprecated.
      Adds all the system-scoped credentials.

      These credentials are meant to be used for system configuration and other things scoped to the Jenkins object, such as slaves.

      Parameters:
      matcher - a matcher to filter the credentials
      domainRequirements - the domain requirements
      Returns:
      this for method chaining.