public final class FeatureBuildItem extends MultiBuildItem
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 the Feature enum.
| Constructor and Description |
|---|
FeatureBuildItem(Feature feature) |
FeatureBuildItem(String name) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.