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.UseStandardUsernameListBoxModel
withSSHAuthenticator
instead.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.util.ListBoxModel
ListBoxModel.Option
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description SSHUserListBoxModel()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SSHUserListBoxModel
add(com.cloudbees.plugins.credentials.common.StandardUsernameCredentials u)
Deprecated.useAbstractIdCredentialsListBoxModel.with(com.cloudbees.plugins.credentials.common.IdCredentials)
SSHUserListBoxModel
addCollection(Collection<? extends com.cloudbees.plugins.credentials.common.StandardUsernameCredentials> col)
Deprecated.useAbstractIdCredentialsListBoxModel.withMatching(CredentialsMatcher, Iterable)
orAbstractIdCredentialsListBoxModel.withAll(Iterable)
SSHUserListBoxModel
addSystemScopeCredentials()
Deprecated.protected String
describe(com.cloudbees.plugins.credentials.common.StandardUsernameCredentials c)
Deprecated.SSHUserListBoxModel
withSystemScopeCredentials()
Deprecated.Adds all the system-scoped credentials (they will be filtered withSSHAuthenticator.matcher()
implicitly).SSHUserListBoxModel
withSystemScopeCredentials(com.cloudbees.plugins.credentials.CredentialsMatcher matcher, com.cloudbees.plugins.credentials.domains.DomainRequirement... domainRequirements)
Deprecated.Adds all the system-scoped credentials.SSHUserListBoxModel
withSystemScopeCredentials(com.cloudbees.plugins.credentials.CredentialsMatcher matcher, List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
Deprecated.Adds all the system-scoped credentials.SSHUserListBoxModel
withSystemScopeCredentials(com.cloudbees.plugins.credentials.domains.DomainRequirement... domainRequirements)
Deprecated.Adds all the system-scoped credentials (they will be filtered withSSHAuthenticator.matcher()
implicitly).SSHUserListBoxModel
withSystemScopeCredentials(List<com.cloudbees.plugins.credentials.domains.DomainRequirement> domainRequirements)
Deprecated.Adds all the system-scoped credentials (they will be filtered withSSHAuthenticator.matcher()
implicitly).-
Methods inherited from class com.cloudbees.plugins.credentials.common.AbstractIdCredentialsListBoxModel
addMissing, include, include, include, include, includeAs, includeAs, includeAs, includeAs, includeAs, includeAs, includeAs, includeAs, includeCurrentValue, includeEmptyValue, includeMatching, includeMatching, includeMatchingAs, includeMatchingAs, includeMatchingAs, includeMatchingAs, with, withAll, withAll, withAll, withEmptySelection, withMatching, withMatching, withMatching
-
Methods inherited from class hudson.util.ListBoxModel
add, add, add, generateResponse, values, writeTo
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Method Detail
-
describe
@NonNull protected String describe(@NonNull com.cloudbees.plugins.credentials.common.StandardUsernameCredentials c)
Deprecated.- Specified by:
describe
in classcom.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.useAbstractIdCredentialsListBoxModel.with(com.cloudbees.plugins.credentials.common.IdCredentials)
-
addCollection
@Deprecated public SSHUserListBoxModel addCollection(Collection<? extends com.cloudbees.plugins.credentials.common.StandardUsernameCredentials> col)
Deprecated.useAbstractIdCredentialsListBoxModel.withMatching(CredentialsMatcher, Iterable)
orAbstractIdCredentialsListBoxModel.withAll(Iterable)
Adds a collection of credentials (they will be filtered withSSHAuthenticator.matcher()
implicitly).- Parameters:
col
- the collection of credentials.- Returns:
this
for method chaining.
-
addSystemScopeCredentials
@Deprecated public SSHUserListBoxModel addSystemScopeCredentials()
Deprecated.Adds all the system-scoped credentials (they will be filtered withSSHAuthenticator.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 withSSHAuthenticator.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 withSSHAuthenticator.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 credentialsdomainRequirements
- 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 withSSHAuthenticator.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 credentialsdomainRequirements
- the domain requirements- Returns:
this
for method chaining.
-
-