From 8acebf2ed93948509273b331cb9b329b616f5c10 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Mon, 9 Oct 2023 20:02:32 +0900 Subject: [PATCH] Add Javadoc since for WavefrontConfig.apiTokenType() (#4194) See gh-4054 --- .../main/java/io/micrometer/wavefront/WavefrontConfig.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/implementations/micrometer-registry-wavefront/src/main/java/io/micrometer/wavefront/WavefrontConfig.java b/implementations/micrometer-registry-wavefront/src/main/java/io/micrometer/wavefront/WavefrontConfig.java index 2647b1539f..a841dfce3d 100644 --- a/implementations/micrometer-registry-wavefront/src/main/java/io/micrometer/wavefront/WavefrontConfig.java +++ b/implementations/micrometer-registry-wavefront/src/main/java/io/micrometer/wavefront/WavefrontConfig.java @@ -113,6 +113,11 @@ default String source() { }); } + /** + * API token type. + * @return API token type + * @since 1.12.0 + */ default TokenService.Type apiTokenType() { return getEnum(this, TokenService.Type.class, "apiTokenType") .invalidateWhen(tokenType -> tokenType == Type.NO_TOKEN && WavefrontMeterRegistry.isDirectToApi(this),