public abstract class ExtensionComponentSet extends Object
ExtensionFinder.refresh().| Modifier and Type | Field and Description |
|---|---|
static ExtensionComponentSet |
EMPTY
Constant that has zero component in it.
|
| Constructor and Description |
|---|
ExtensionComponentSet() |
| Modifier and Type | Method and Description |
|---|---|
static ExtensionComponentSet |
allOf(ExtensionFinder f)
Wraps
ExtensionFinder into ExtensionComponentSet. |
ExtensionComponentSet |
filtered()
Apply
ExtensionFilters and returns a filtered set. |
abstract <T> Collection<ExtensionComponent<T>> |
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) |
public static final ExtensionComponentSet EMPTY
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.Copyright © 2019. All rights reserved.