Interface StringFunction

All Superinterfaces:
org.citrusframework.functions.Function, org.citrusframework.functions.ParameterizedFunction<StringParameter>
All Known Implementing Classes:
EscapeJsonFunction, LoadMessageFunction, LowerCaseFunction, MapValueFunction, RandomPatternFunction, StringLengthFunction, UpperCaseFunction

public interface StringFunction extends org.citrusframework.functions.ParameterizedFunction<StringParameter>
Function that supports a single String typed parameter.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.citrusframework.functions.ParameterizedFunction

    org.citrusframework.functions.ParameterizedFunction.FunctionParameters
  • Field Summary

    Fields inherited from interface org.citrusframework.functions.Function

    functions, logger, RESOURCE_PATH
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(String param, org.citrusframework.context.TestContext context)
    Execute function with the single String parameter.
    default String
    execute(StringParameter parameter, org.citrusframework.context.TestContext context)
     
     

    Methods inherited from interface org.citrusframework.functions.ParameterizedFunction

    execute
  • Method Details

    • execute

      String execute(String param, org.citrusframework.context.TestContext context)
      Execute function with the single String parameter.
    • execute

      default String execute(StringParameter parameter, org.citrusframework.context.TestContext context)
      Specified by:
      execute in interface org.citrusframework.functions.ParameterizedFunction<StringParameter>
    • getParameters

      default StringParameter getParameters()
      Specified by:
      getParameters in interface org.citrusframework.functions.ParameterizedFunction<StringParameter>