Class ExtensionList<T>
java.lang.Object
com.cloudbees.sdk.extensibility.ExtensionList<T>
- All Implemented Interfaces:
Iterable<T>
- Direct Known Subclasses:
ExtensionPointList
A component you can inject (via JIT binding) to discover the list of
extension points registered via
ExtensionFinder.
@Inject
ExtensionList<Foo> foos;
void someFunction(){
for (Foo f : foos) {
...
}
}
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionList(com.google.inject.TypeLiteral<T> type) ExtensionList(Class<T> type) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
ExtensionList
-
ExtensionList
-
-
Method Details
-
iterator
-
list
-