P - The platform view framework.@ApiStatus.NonExtendable
public interface FeatureInstaller<P>
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Feature<?,?,P>> |
getInstalledFeatures()
All the features that have already been installed through this installer.
|
P |
getPlatform()
The platform of this installer.
|
<C,R> R |
install(@NotNull Feature<C,R,P> feature,
@NotNull java.util.function.UnaryOperator<C> configure)
Installs a feature.
|
void |
uninstall(@NotNull Feature<?,?,P> feature)
Uninstalls a feature.
|
@NotNull P getPlatform()
java.util.Collection<Feature<?,?,P>> getInstalledFeatures()
@NotNull
<C,R> R install(@NotNull
@NotNull Feature<C,R,P> feature,
@NotNull
@NotNull java.util.function.UnaryOperator<C> configure)
C - The feature configuration type.R - The feature value instance type.feature - The feature to be installed.configure - The feature configuration.