Interface RegistryQuarkusVersionsConfig

All Known Subinterfaces:
RegistryQuarkusVersionsConfig.Mutable
All Known Implementing Classes:
RegistryQuarkusVersionsConfigImpl, RegistryQuarkusVersionsConfigImpl.Builder

public interface RegistryQuarkusVersionsConfig
A registry may be configured to accept requests only for the Quarkus versions it recognizes. This may avoid unnecessary remote registry requests from the client.
  • Method Details

    • getRecognizedVersionsExpression

      String getRecognizedVersionsExpression()
      An expression that will be evaluated on the client side before sending a request to the registry that will indicate whether the registry recognizes a given Quarkus version or not.
      Returns:
      Quarkus version filtering expression or null
    • getRecognizedGroupIds

      Collection<String> getRecognizedGroupIds()
    • isExclusiveProvider

      boolean isExclusiveProvider()
      If the Quarkus version expression is provided, this method may also enforce that Quarkus versions matching the provided expressions are expected to be provided by this registry exclusively. This may further reduce the amount of the remote requests a client will be sending in case multiple registries have been configured.
      Returns:
      whether the registry is an exclusive provider of the Quarkus versions matching the expression configured in getRecognizedVersionsExpression()
    • mutable

      Returns:
      a mutable copy of this configuration
    • builder

      Returns:
      a new mutable instance