Class TranslateFunction

  • All Implemented Interfaces:
    com.consol.citrus.functions.Function

    public class TranslateFunction
    extends Object
    implements com.consol.citrus.functions.Function
    Function searches for occurrences of a given character sequence and replaces all findings with given replacement string.
    Author:
    Christoph Deppisch
    • Constructor Detail

      • TranslateFunction

        public TranslateFunction()
    • Method Detail

      • execute

        public String execute​(List<String> parameterList,
                              com.consol.citrus.context.TestContext context)
        Specified by:
        execute in interface com.consol.citrus.functions.Function
        Throws:
        com.consol.citrus.exceptions.InvalidFunctionUsageException
        See Also:
        Function.execute(java.util.List, com.consol.citrus.context.TestContext)