Class MetricsProperties.AutoConfiguration
java.lang.Object
org.axonframework.extension.springboot.MetricsProperties.AutoConfiguration
- Enclosing class:
MetricsProperties
Auto configuration specific properties around Metrics.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the auto-configuration of Metrics is enabledvoidsetEnabled(boolean enabled) Enables (iftrue, default) or disables (iffalse) the auto-configuration of Metrics within the application context.
-
Constructor Details
-
AutoConfiguration
public AutoConfiguration()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Indicates whether the auto-configuration of Metrics is enabled- Returns:
- true if the auto-configuration of Metrics is enabled, false if otherwise
-
setEnabled
public void setEnabled(boolean enabled) Enables (iftrue, default) or disables (iffalse) the auto-configuration of Metrics within the application context.- Parameters:
enabled- whether to enable Metrics auto configuration
-