Interface TokenContextDescriptionStorage
-
- All Known Implementing Classes:
InMemoryTokenContextDescriptionStorage
public interface TokenContextDescriptionStorage
Storage for the context description of tokens for versioned settings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cleanTokenDescriptionForProject(String projectId)
Clean token descriptions for fiven projectString
getTokenDescription(String projectId, String token)
Get stored token descriptionvoid
updateTokenDescription(String projectId, String token, String contextDescription)
Update token description
-
-
-
Method Detail
-
updateTokenDescription
void updateTokenDescription(@NotNull String projectId, @NotNull String token, @NotNull String contextDescription)
Update token description- Parameters:
projectId
- project idtoken
- tokencontextDescription
- context description
-
getTokenDescription
@Nullable String getTokenDescription(@NotNull String projectId, @NotNull String token)
Get stored token description- Parameters:
projectId
- project idtoken
- token- Returns:
- token description if found, null otherwise
-
cleanTokenDescriptionForProject
void cleanTokenDescriptionForProject(@NotNull String projectId)
Clean token descriptions for fiven project- Parameters:
projectId
- prject id
-
-