Class FeatureBuildItem


public final class FeatureBuildItem extends MultiBuildItem
Represents 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 the Feature enum.

  • Constructor Details

    • FeatureBuildItem

      public FeatureBuildItem(Feature feature)
    • FeatureBuildItem

      public FeatureBuildItem(String name)
  • Method Details

    • getName

      public String getName()
      The name that gets displayed in the log.
      Returns:
      the name