Package io.quarkus.registry.config
Class RegistryQuarkusVersionsConfigImpl
- java.lang.Object
-
- io.quarkus.registry.config.RegistryQuarkusVersionsConfigImpl
-
- All Implemented Interfaces:
RegistryQuarkusVersionsConfig
public class RegistryQuarkusVersionsConfigImpl extends Object implements RegistryQuarkusVersionsConfig
Asymmetric data manipulation: Deserialization always uses the builder; Serialization always uses the Impl.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegistryQuarkusVersionsConfigImpl.BuilderBuilder.-
Nested classes/interfaces inherited from interface io.quarkus.registry.config.RegistryQuarkusVersionsConfig
RegistryQuarkusVersionsConfig.Mutable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Collection<String>getRecognizedGroupIds()StringgetRecognizedVersionsExpression()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.inthashCode()booleanisExclusiveProvider()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.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.quarkus.registry.config.RegistryQuarkusVersionsConfig
mutable
-
-
-
-
Method Detail
-
getRecognizedVersionsExpression
public String getRecognizedVersionsExpression()
Description copied from interface:RegistryQuarkusVersionsConfigAn 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.- Specified by:
getRecognizedVersionsExpressionin interfaceRegistryQuarkusVersionsConfig- Returns:
- Quarkus version filtering expression or null
-
getRecognizedGroupIds
public Collection<String> getRecognizedGroupIds()
- Specified by:
getRecognizedGroupIdsin interfaceRegistryQuarkusVersionsConfig
-
isExclusiveProvider
public boolean isExclusiveProvider()
Description copied from interface:RegistryQuarkusVersionsConfigIf 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.- Specified by:
isExclusiveProviderin interfaceRegistryQuarkusVersionsConfig- Returns:
- whether the registry is an exclusive provider of the Quarkus versions matching
the expression configured in
RegistryQuarkusVersionsConfig.getRecognizedVersionsExpression()
-
-