Class GoogleRobotCredentials.CredentialsListBoxModel
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<ListBoxModel.Option>
-
- hudson.util.ListBoxModel
-
- com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials.CredentialsListBoxModel
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<ListBoxModel.Option>
,Collection<ListBoxModel.Option>
,List<ListBoxModel.Option>
,RandomAccess
,org.kohsuke.stapler.HttpResponse
- Enclosing class:
- GoogleRobotCredentials
public static class GoogleRobotCredentials.CredentialsListBoxModel extends ListBoxModel
A trivial tuple for wrapping the list box of matched credentials with the requirements that were used to filter them.- 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 CredentialsListBoxModel(GoogleOAuth2ScopeRequirement requirement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Iterable<String>
getScopes()
Retrieve the set of scopes for our requirement.int
hashCode()
-
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, forEach, get, 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
-
-
-
-
Constructor Detail
-
CredentialsListBoxModel
public CredentialsListBoxModel(GoogleOAuth2ScopeRequirement requirement)
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceCollection<ListBoxModel.Option>
- Specified by:
equals
in interfaceList<ListBoxModel.Option>
- Overrides:
equals
in classArrayList<ListBoxModel.Option>
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceCollection<ListBoxModel.Option>
- Specified by:
hashCode
in interfaceList<ListBoxModel.Option>
- Overrides:
hashCode
in classArrayList<ListBoxModel.Option>
-
-