@@ -81,18 +81,22 @@ default boolean checkBinderEnabledWithDefault(CapabilityEnabled config) {
81
81
* <p>
82
82
* <ul>
83
83
* <li>
84
- * The {@link MicrometerConfig#enabled()} has precedence over all configurations, it means that if <code>quarkus.micrometer.enabled</code>
84
+ * The {@link MicrometerConfig#enabled()} has precedence over all configurations, it means that if
85
+ * <code>quarkus.micrometer.enabled</code>
85
86
* is set to <code>false</code>, all metrics are disabled.
86
87
* </li>
87
88
* <li>
88
89
* If the <code>quarkus.micrometer.binder.enable-all</code> is set to <code>true</code>, independently if the
89
90
* parameter <code>aBoolean</code> resolve to <code>true</code> or <code>false</code> the metric will be enabled.
90
91
* </li>
91
92
* <li>
92
- * If the <code>quarkus.micrometer.binder.enable-all</code> is set to <code>false</code>, the parameter <code>aBoolean</code>
93
- * will be used to determine if the metric is enabled or not. If <code>aBoolean</code> is empty, the metric will be disabled.
93
+ * If the <code>quarkus.micrometer.binder.enable-all</code> is set to <code>false</code>, the parameter
94
+ * <code>aBoolean</code>
95
+ * will be used to determine if the metric is enabled or not. If <code>aBoolean</code> is empty, the metric will be
96
+ * disabled.
94
97
* </li>
95
98
* </ul>
99
+ *
96
100
* @param aBoolean the optional boolean value to check if the capability is enabled
97
101
* @return <code>true</code> if the capability is enabled, <code>false</code> otherwise.
98
102
*/
@@ -113,7 +117,8 @@ default boolean isEnabled(Optional<Boolean> aBoolean) {
113
117
* <p>
114
118
* <ul>
115
119
* <li>
116
- * The {@link MicrometerConfig#enabled()} has precedence over all configurations, it means that if <code>quarkus.micrometer.enabled</code>
120
+ * The {@link MicrometerConfig#enabled()} has precedence over all configurations, it means that if
121
+ * <code>quarkus.micrometer.enabled</code>
117
122
* is set to <code>false</code>, all metrics are disabled.
118
123
* </li>
119
124
* <li>
@@ -126,6 +131,7 @@ default boolean isEnabled(Optional<Boolean> aBoolean) {
126
131
* {@link MicrometerConfig#binderEnabledDefault()} will be used to determine if the metric is enabled or not.
127
132
* </li>
128
133
* </ul>
134
+ *
129
135
* @param config the {@link CapabilityEnabled} to check if the capability is enabled
130
136
* @return <code>true</code> if the capability is enabled, <code>false</code> otherwise.
131
137
*/
0 commit comments