Package io.quarkus.deployment.builditem
Class FeatureBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.deployment.builditem.FeatureBuildItem
-
public final class FeatureBuildItem extends MultiBuildItem
Represents a functionality provided by an extension. The name of the feature gets displayed in the log during application bootstrap.An extension should provide at most one feature. The name must be unique. If multiple extensions register a feature of the same name the build fails.
The name of the feature should only contain lowercase characters, words are separated by dash
-
; e.g.security-jpa
. Features provided by core extensions should be listed in theFeature
enum.
-
-
Constructor Summary
Constructors Constructor Description FeatureBuildItem(Feature feature)
FeatureBuildItem(String name)
-