Class UpdateCheckerProperties
java.lang.Object
org.axonframework.extension.springboot.UpdateCheckerProperties
- All Implemented Interfaces:
Supplier<UsagePropertyProvider>
@ConfigurationProperties(prefix="axon.update-check")
public class UpdateCheckerProperties
extends Object
implements Supplier<UsagePropertyProvider>
An
UsagePropertyProvider implementation that reacts to Spring Boot properties through the
ConfigurationProperties annotation.
This component allows users to disable the UpdateChecker through application
properties.
- Since:
- 4.12.2
- Author:
- Allard Buijze
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()getUrl()intpriority()voidsetDisabled(Boolean disabled) Set's the boolean dictating whether theUpdateCheckeris disabled.void
-
Constructor Details
-
UpdateCheckerProperties
public UpdateCheckerProperties()
-
-
Method Details
-
setDisabled
Set's the boolean dictating whether theUpdateCheckeris disabled.Defaults to detecting this setting via system properties or environment variables. Unless disabled in any one of these locations, the update check will be enabled.
- Parameters:
disabled- A boolean dictating whether theUpdateCheckeris disabled.
-
getDisabled
-
getUrl
-
setUrl
-
priority
public int priority() -
get
- Specified by:
getin interfaceSupplier<UsagePropertyProvider>
-