Package com.adaptris.rest.healthcheck
Class AdapterList
- All Implemented Interfaces:
Iterable<AdapterState>,Collection<AdapterState>,List<AdapterState>
List of adapters that will be returned by the healthcheck
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, AdapterState x) booleanadd(AdapterState x) get(int index) iterator()voidsetAdapterStates(List<AdapterState> adapterStates) intsize()static AdapterListwrap(List<AdapterState> states) Methods inherited from class java.util.AbstractList
addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
AdapterList
public AdapterList()
-
-
Method Details
-
wrap
-
get
- Specified by:
getin interfaceList<AdapterState>- Specified by:
getin classAbstractList<AdapterState>
-
size
public int size()- Specified by:
sizein interfaceCollection<AdapterState>- Specified by:
sizein interfaceList<AdapterState>- Specified by:
sizein classAbstractCollection<AdapterState>
-
iterator
- Specified by:
iteratorin interfaceCollection<AdapterState>- Specified by:
iteratorin interfaceIterable<AdapterState>- Specified by:
iteratorin interfaceList<AdapterState>- Overrides:
iteratorin classAbstractList<AdapterState>
-
add
- Specified by:
addin interfaceCollection<AdapterState>- Specified by:
addin interfaceList<AdapterState>- Overrides:
addin classAbstractList<AdapterState>
-
add
- Specified by:
addin interfaceList<AdapterState>- Overrides:
addin classAbstractList<AdapterState>
-
getAdapterStates
-
setAdapterStates
-