Interface TransformAction


public interface TransformAction
Interface used to implement custom actions that transform values based on the name authored by users. All replacements in HTML and JSON are able to use custom actions created based on this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Boolean value to impact whether the replacement services (HTML or JSON) perform basic HTML entity escaping.
    execute(String value)
    Used to perform custom actions on the input value before being rendered.
    Returns the configured name of the action.
  • Method Details

    • getName

      String getName()
      Returns the configured name of the action. Used to map to the action present in a placeholder.
      Returns:
      The name of the action
    • execute

      String execute(String value)
      Used to perform custom actions on the input value before being rendered. This runs on the actual value already replaced.
      Parameters:
      value - The input value
      Returns:
      The transformed value
    • disableEscaping

      boolean disableEscaping()
      Boolean value to impact whether the replacement services (HTML or JSON) perform basic HTML entity escaping. List of escaped characters can be found in ContentVariableReplacementUtil.
      Returns:
      boolean value for disabling escaping