Class DiscoveredImplementationsBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.scheduler.deployment.DiscoveredImplementationsBuildItem

public final class DiscoveredImplementationsBuildItem extends io.quarkus.builder.item.SimpleBuildItem
This build item holds all discovered Scheduler implementations sorted by priority. Higher priority goes first.
  • Constructor Details

    • DiscoveredImplementationsBuildItem

      DiscoveredImplementationsBuildItem(String autoImplementation, Set<String> implementations, boolean useCompositeScheduler)
  • Method Details

    • getAutoImplementation

      public String getAutoImplementation()
      Returns:
      the implementation with highest priority
    • getImplementations

      public Set<String> getImplementations()
    • isCompositeSchedulerUsed

      public boolean isCompositeSchedulerUsed()
      A composite scheduler is used if multiple scheduler implementations are found and SchedulerConfig.useCompositeScheduler() is set to true.

      The extension will add:

      • the Constituent marker qualifier,
      • the Identifier qualifier with the corresponding implementation value.
      Returns:
      true if a composite scheduler is used
      See Also:
      • CompositeScheduler
    • isAutoImplementation

      public boolean isAutoImplementation(String implementation)