Skip to content

Commit

Permalink
Add Javadoc since for WavefrontConfig.apiTokenType()
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye committed Oct 7, 2023
1 parent 3d42c8b commit 4d29041
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 4d29041

Please sign in to comment.