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.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.quarkus.registry.config.RegistryQuarkusVersionsConfig
RegistryQuarkusVersionsConfig.Mutable -
Method Summary
Modifier and TypeMethodDescriptionbooleanAn 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()booleanIf 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.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.quarkus.registry.config.RegistryQuarkusVersionsConfig
mutable
-
Method Details
-
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
- 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()
-
equals
-
hashCode
public int hashCode() -
toString
-