Class ExcludedTypeBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.arc.deployment.ExcludedTypeBuildItem

public final class ExcludedTypeBuildItem extends io.quarkus.builder.item.MultiBuildItem
This build item is used to specify types to be excluded from discovery.

An element value can be:

  • a fully qualified class name, i.e. org.acme.Foo
  • a simple class name as defined by Class.getSimpleName(), i.e. Foo
  • a package name with suffix .*, i.e. org.acme.*, matches a package
  • a package name with suffix .**, i.e. org.acme.**, matches a package that starts with the value
If any element value matches a discovered type then the type is excluded from discovery, i.e. no beans and observer methods are created from this type.
  • Constructor Details

    • ExcludedTypeBuildItem

      public ExcludedTypeBuildItem(String match)
  • Method Details

    • getMatch

      public String getMatch()