Class RegistryConfigImpl

    • Method Detail

      • 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
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object