Package io.quarkus.registry.config
Class RegistryConfigImpl
java.lang.Object
io.quarkus.registry.config.RegistryConfigImpl
- All Implemented Interfaces:
RegistryConfig
Asymmetric data manipulation:
- Deserialization always uses the builder.
RegistryConfigImpl.BuilderDeserializeris used to create builders from lists containing a mix of raw strings or nested objects. RegistryConfigImpl.Serializeris used as a serializer to suppress default field values.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.quarkus.registry.config.RegistryConfig
RegistryConfig.Mutable -
Method Summary
Modifier and TypeMethodDescriptionbooleanHow to get the descriptor from the registry.getExtra()Custom registry client configuration.getId()Registry ID.getMaven()Registry client Maven related configuration, such as repository URL, etc.How to get catalogs of non-platform extensions from the registry.How get platform catalogs from the registry.Registry specific Quarkus version filtering configuration.How often (if ever) the locally cached catalogs provided by the registry should be refreshed.inthashCode()booleanWhether this registry should be included in the active registry list.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.quarkus.registry.config.RegistryConfig
mutable, persist
-
Method Details
-
getId
Description copied from interface:RegistryConfigRegistry ID. Mainly used in the logging and error messages to refer to a specific registry.- Specified by:
getIdin interfaceRegistryConfig- Returns:
- registry id, never null
-
isEnabled
public boolean isEnabled()Description copied from interface:RegistryConfigWhether 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:
isEnabledin interfaceRegistryConfig- Returns:
- true, if the registry is enabled, otherwise - false
-
getUpdatePolicy
Description copied from interface:RegistryConfigHow often (if ever) the locally cached catalogs provided by the registry should be refreshed. The value returned by the method should currently bealways,daily(default),interval:XXX(in minutes) ornever(only if it doesn't exist locally).- Specified by:
getUpdatePolicyin interfaceRegistryConfig- Returns:
- update policy
-
getDescriptor
Description copied from interface:RegistryConfigHow 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:
getDescriptorin interfaceRegistryConfig- Returns:
- registry descriptor related configuration
-
getPlatforms
Description copied from interface:RegistryConfigHow get platform catalogs from the registry.- Specified by:
getPlatformsin interfaceRegistryConfig- Returns:
- platform catalog related configuration
-
getNonPlatformExtensions
Description copied from interface:RegistryConfigHow to get catalogs of non-platform extensions from the registry.- Specified by:
getNonPlatformExtensionsin interfaceRegistryConfig- Returns:
- non-platform extension catalog related configuration
-
getMaven
Description copied from interface:RegistryConfigRegistry client Maven related configuration, such as repository URL, etc.- Specified by:
getMavenin interfaceRegistryConfig- Returns:
- registry client Maven related configuration
-
getQuarkusVersions
Description copied from interface:RegistryConfigRegistry 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:
getQuarkusVersionsin interfaceRegistryConfig- Returns:
- Quarkus version filtering configuration
-
getExtra
Description copied from interface:RegistryConfigCustom registry client configuration.- Specified by:
getExtrain interfaceRegistryConfig- Returns:
- custom registry client configuration
-
equals
-
hashCode
public int hashCode() -
toString
-