Interface TokenResolverInput
public interface TokenResolverInput
Provides input for resolving token values.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a collection of language codes for the values the tokens need to be resolved into.Retrieves a newTokenResolverOutput
object that can be used to set the resolved token values for sending a notification.Retrieves a collection of token names to be resolved for values.
-
Method Details
-
getTokens
Collection<String> getTokens()Retrieves a collection of token names to be resolved for values. Token names are in formatmyTokenName
, rather thanCustom.myTokenName
.- Returns:
- a collection of token names
-
getLanguages
Collection<String> getLanguages()Retrieves a collection of language codes for the values the tokens need to be resolved into. The language codes are Vault supported languages for notification recipients.- Returns:
- a collection of language codes
-
getTokenResolverOutput
TokenResolverOutput getTokenResolverOutput()Retrieves a newTokenResolverOutput
object that can be used to set the resolved token values for sending a notification.- Returns:
- a new TokenResolverOutput object
-