Interface MagicPlaceholders.PlaceholderResolver

Enclosing class:
MagicPlaceholders
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MagicPlaceholders.PlaceholderResolver
Resolves a placeholder value.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    resolve(@Nullable Audience audience, @Nullable String argument)
    Resolves the placeholder value for an audience and argument.
  • Method Details

    • resolve

      @Nullable @Nullable String resolve(@Nullable @Nullable Audience audience, @Nullable @Nullable String argument)
      Resolves the placeholder value for an audience and argument.
      Parameters:
      audience - optional audience context
      argument - optional placeholder argument
      Returns:
      resolved placeholder value or null