Class AzureCompatibilityVerifierProperties
java.lang.Object
com.azure.spring.cloud.autoconfigure.compatibility.AzureCompatibilityVerifierProperties
@ConfigurationProperties("spring.cloud.azure.compatibility-verifier")
public class AzureCompatibilityVerifierProperties
extends Object
Properties for CompatibilityVerifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of Spring Boot versions that are compatible with current Spring Cloud Azure's version.boolean
Whether to enable the Spring Cloud Azure compatibility verifier.void
setCompatibleBootVersions
(List<String> compatibleBootVersions) Set the list of Spring Boot versions that are compatible with current Spring Cloud Azure's version.void
setEnabled
(boolean enabled) Set whether to enable the Spring Cloud Azure compatibility verifier.
-
Constructor Details
-
AzureCompatibilityVerifierProperties
public AzureCompatibilityVerifierProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Whether to enable the Spring Cloud Azure compatibility verifier.- Returns:
- whether to enable the Spring Cloud Azure compatibility verifier.
-
setEnabled
public void setEnabled(boolean enabled) Set whether to enable the Spring Cloud Azure compatibility verifier.- Parameters:
enabled
- whether to enable the Spring Cloud Azure compatibility verifier.
-
getCompatibleBootVersions
Get the list of Spring Boot versions that are compatible with current Spring Cloud Azure's version.- Returns:
- the compatible Spring Boot versions.
-
setCompatibleBootVersions
Set the list of Spring Boot versions that are compatible with current Spring Cloud Azure's version.- Parameters:
compatibleBootVersions
- the compatible Spring Boot versions.
-