public abstract class AbstractIdCredentialsListBoxModel<T extends AbstractIdCredentialsListBoxModel<T,C>,C extends IdCredentials>
extends hudson.util.ListBoxModel
ListBoxModel types that present a selection of credentials where the selection is keyed
by the credential's IdCredentials.getId().modCount| Constructor and Description |
|---|
AbstractIdCredentialsListBoxModel() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
describe(C c)
Generate a description of the supplied credential.
|
AbstractIdCredentialsListBoxModel<T,C> |
with(C u)
Adds a single credential.
|
AbstractIdCredentialsListBoxModel<T,C> |
withAll(C... credentials)
Adds supplied credentials to the model.
|
AbstractIdCredentialsListBoxModel<T,C> |
withAll(Iterable<? extends C> credentials)
Adds supplied credentials to the model.
|
AbstractIdCredentialsListBoxModel<T,C> |
withAll(Iterator<? extends C> credentials)
Adds supplied credentials to the model.
|
AbstractIdCredentialsListBoxModel<T,C> |
withEmptySelection()
Adds an "empty" credential to signify selection of no credential.
|
AbstractIdCredentialsListBoxModel<T,C> |
withMatching(CredentialsMatcher matcher,
C... credentials)
Adds the matching subset of suppled credentials to the model.
|
AbstractIdCredentialsListBoxModel<T,C> |
withMatching(CredentialsMatcher matcher,
Iterable<? extends C> credentials)
Adds the matching subset of suppled credentials to the model.
|
AbstractIdCredentialsListBoxModel<T,C> |
withMatching(CredentialsMatcher matcher,
Iterator<? extends C> credentials)
Adds the matching subset of suppled credentials to the model.
|
add, add, add, generateResponse, values, writeToadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode@NonNull protected abstract String describe(@NonNull C c)
c - the credential.@NonNull public AbstractIdCredentialsListBoxModel<T,C> with(@CheckForNull C u)
u - the credential to add.this for method chaining.@NonNull public AbstractIdCredentialsListBoxModel<T,C> withEmptySelection()
this for method chaining.@NonNull public AbstractIdCredentialsListBoxModel<T,C> withAll(@NonNull C... credentials)
credentials - the credentials.this for method chaining.@NonNull public AbstractIdCredentialsListBoxModel<T,C> withAll(@NonNull Iterable<? extends C> credentials)
credentials - the credentials.this for method chaining.@NonNull public AbstractIdCredentialsListBoxModel<T,C> withAll(@NonNull Iterator<? extends C> credentials)
credentials - the credentials.this for method chaining.@NonNull public AbstractIdCredentialsListBoxModel<T,C> withMatching(@NonNull CredentialsMatcher matcher, @NonNull C... credentials)
matcher - the matcher.credentials - the superset of credentials.this for method chaining.@NonNull public AbstractIdCredentialsListBoxModel<T,C> withMatching(@NonNull CredentialsMatcher matcher, @NonNull Iterable<? extends C> credentials)
matcher - the matcher.credentials - the superset of credentials.this for method chaining.@NonNull public AbstractIdCredentialsListBoxModel<T,C> withMatching(@NonNull CredentialsMatcher matcher, @NonNull Iterator<? extends C> credentials)
matcher - the matcher.credentials - the superset of credentials.this for method chaining.Copyright © 2004-2014. All Rights Reserved.