Interface TokenResolverInput


public interface TokenResolverInput
Provides input for resolving token values.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves a collection of language codes for the values the tokens need to be resolved into.
    Retrieves a new TokenResolverOutput 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 format myTokenName, rather than Custom.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 new TokenResolverOutput object that can be used to set the resolved token values for sending a notification.
      Returns:
      a new TokenResolverOutput object