public final class ProjectExtensionPointName<T> extends BaseExtensionPointName<T>
Constructor and Description |
---|
ProjectExtensionPointName(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addExtensionPointListener(AreaInstance areaInstance,
ExtensionPointChangeListener listener,
Disposable parentDisposable) |
void |
addExtensionPointListener(AreaInstance areaInstance,
ExtensionPointListener<T> listener,
Disposable parentDisposable) |
<R> R |
computeSafeIfAny(AreaInstance areaInstance,
java.util.function.Function<T,R> processor) |
java.util.stream.Stream<T> |
extensions(AreaInstance areaInstance) |
<V extends T> |
findExtension(java.lang.Class<V> instanceOf,
AreaInstance areaInstance) |
<V extends T> |
findExtensionOrFail(java.lang.Class<V> instanceOf,
AreaInstance areaInstance) |
T |
findFirstSafe(AreaInstance areaInstance,
java.util.function.Predicate<? super T> predicate) |
java.util.List<T> |
getExtensions(AreaInstance areaInstance) |
ExtensionPoint<T> |
getPoint(AreaInstance areaInstance) |
boolean |
hasAnyExtensions(AreaInstance areaInstance) |
getName, getPointImpl, toString
public ProjectExtensionPointName(java.lang.String name)
public ExtensionPoint<T> getPoint(AreaInstance areaInstance)
public java.util.List<T> getExtensions(AreaInstance areaInstance)
public java.util.stream.Stream<T> extensions(AreaInstance areaInstance)
public <V extends T> V findExtension(java.lang.Class<V> instanceOf, AreaInstance areaInstance)
public <V extends T> V findExtensionOrFail(java.lang.Class<V> instanceOf, AreaInstance areaInstance)
public boolean hasAnyExtensions(AreaInstance areaInstance)
public T findFirstSafe(AreaInstance areaInstance, java.util.function.Predicate<? super T> predicate)
public <R> R computeSafeIfAny(AreaInstance areaInstance, java.util.function.Function<T,R> processor)
public void addExtensionPointListener(AreaInstance areaInstance, ExtensionPointListener<T> listener, Disposable parentDisposable)
public void addExtensionPointListener(AreaInstance areaInstance, ExtensionPointChangeListener listener, Disposable parentDisposable)