|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjenkins.ExtensionComponentSet
public abstract class ExtensionComponentSet
Represents the components that's newly discovered during ExtensionFinder.refresh().
| Field Summary | |
|---|---|
static ExtensionComponentSet |
EMPTY
Constant that has zero component in it. |
| Constructor Summary | |
|---|---|
ExtensionComponentSet()
|
|
| Method Summary | ||
|---|---|---|
static ExtensionComponentSet |
allOf(ExtensionFinder f)
Wraps ExtensionFinder into ExtensionComponentSet. |
|
ExtensionComponentSet |
filtered()
Apply ExtensionFilters and returns a filtered set. |
|
abstract
|
find(Class<T> type)
Discover extensions of the given type. |
|
static ExtensionComponentSet |
union(Collection<? extends ExtensionComponentSet> base)
Computes the union of all the given delta. |
|
static ExtensionComponentSet |
union(ExtensionComponentSet... members)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ExtensionComponentSet EMPTY
| Constructor Detail |
|---|
public ExtensionComponentSet()
| Method Detail |
|---|
public abstract <T> Collection<ExtensionComponent<T>> find(Class<T> type)
This method is called only once per the given type after all the plugins are loaded, so implementations need not worry about caching.
T - The type of the extension points. This is not bound to ExtensionPoint because
of Descriptor, which by itself doesn't implement ExtensionPoint for
a historical reason.
public final ExtensionComponentSet filtered()
ExtensionFilters and returns a filtered set.
public static ExtensionComponentSet union(Collection<? extends ExtensionComponentSet> base)
public static ExtensionComponentSet union(ExtensionComponentSet... members)
public static ExtensionComponentSet allOf(ExtensionFinder f)
ExtensionFinder into ExtensionComponentSet.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||