Class RegistryConfigImpl

java.lang.Object
io.quarkus.registry.config.RegistryConfigImpl
All Implemented Interfaces:
RegistryConfig

public class RegistryConfigImpl extends Object implements RegistryConfig
Asymmetric data manipulation:
  • Deserialization always uses the builder. RegistryConfigImpl.BuilderDeserializer is used to create builders from lists containing a mix of raw strings or nested objects.
  • RegistryConfigImpl.Serializer is used as a serializer to suppress default field values.
See Also:
  • Method Details

    • getId

      public String getId()
      Description copied from interface: RegistryConfig
      Registry ID. Mainly used in the logging and error messages to refer to a specific registry.
      Specified by:
      getId in interface RegistryConfig
      Returns:
      registry id, never null
    • isEnabled

      public boolean isEnabled()
      Description copied from interface: RegistryConfig
      Whether this registry should be included in the active registry list. If the registry is disabled the client won't be sending any requests to it.
      Specified by:
      isEnabled in interface RegistryConfig
      Returns:
      true, if the registry is enabled, otherwise - false
    • getUpdatePolicy

      public String getUpdatePolicy()
      Description copied from interface: RegistryConfig
      How often (if ever) the locally cached catalogs provided by the registry should be refreshed. The value returned by the method should currently be always, daily (default), interval:XXX (in minutes) or never (only if it doesn't exist locally).
      Specified by:
      getUpdatePolicy in interface RegistryConfig
      Returns:
      update policy
    • getDescriptor

      public RegistryDescriptorConfig getDescriptor()
      Description copied from interface: RegistryConfig
      How to get the descriptor from the registry. A registry descriptor is the default client configuration for the registry that can be customized on the client side, if necessary.
      Specified by:
      getDescriptor in interface RegistryConfig
      Returns:
      registry descriptor related configuration
    • getPlatforms

      public RegistryPlatformsConfig getPlatforms()
      Description copied from interface: RegistryConfig
      How get platform catalogs from the registry.
      Specified by:
      getPlatforms in interface RegistryConfig
      Returns:
      platform catalog related configuration
    • getNonPlatformExtensions

      public RegistryNonPlatformExtensionsConfig getNonPlatformExtensions()
      Description copied from interface: RegistryConfig
      How to get catalogs of non-platform extensions from the registry.
      Specified by:
      getNonPlatformExtensions in interface RegistryConfig
      Returns:
      non-platform extension catalog related configuration
    • getMaven

      public RegistryMavenConfig getMaven()
      Description copied from interface: RegistryConfig
      Registry client Maven related configuration, such as repository URL, etc.
      Specified by:
      getMaven in interface RegistryConfig
      Returns:
      registry client Maven related configuration
    • getQuarkusVersions

      public RegistryQuarkusVersionsConfig getQuarkusVersions()
      Description copied from interface: RegistryConfig
      Registry specific Quarkus version filtering configuration. For example, a given registry may provide platform and extension information that are based on specific versions of Quarkus core. Properly configured configured may reduce the amount of unnecessary remote registry requests.
      Specified by:
      getQuarkusVersions in interface RegistryConfig
      Returns:
      Quarkus version filtering configuration
    • getExtra

      public Map<String,Object> getExtra()
      Description copied from interface: RegistryConfig
      Custom registry client configuration.
      Specified by:
      getExtra in interface RegistryConfig
      Returns:
      custom registry client configuration
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object