Class RegistriesConfigImpl

java.lang.Object
io.quarkus.registry.config.RegistriesConfigImpl
All Implemented Interfaces:
RegistriesConfig

public class RegistriesConfigImpl extends Object implements RegistriesConfig
Top of the config hierarchy. Holder of the rest of the things. Asymmetric data manipulation: Deserialization always uses the builder; Serialization always uses the Impl.
See Also:
  • Method Details

    • isDebug

      public boolean isDebug()
      Description copied from interface: RegistriesConfig
      Enables or disables registry client debug mode.
      Specified by:
      isDebug in interface RegistriesConfig
      Returns:
      true if the debug mode should be enabled, otherwise - false
    • getRegistries

      public List<RegistryConfig> getRegistries()
      Description copied from interface: RegistriesConfig
      A list of registries that should queried when generating catalogs of platforms and extensions.
      Specified by:
      getRegistries in interface RegistriesConfig
      Returns:
      list of registries that should queried when generating catalogs of platforms and extensions
    • getSource

      public ConfigSource getSource()
      Specified by:
      getSource in interface RegistriesConfig
      Returns:
      ConfigSource that describes origin of this configuration
    • persist

      public void persist() throws IOException
      Description copied from interface: RegistriesConfig
      Persist this configuration to the original source (if possible). Does nothing for configurations read from environment variables.
      Specified by:
      persist in interface RegistriesConfig
      Throws:
      IOException - if the source file can not be written to.
    • 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