Class StringLengthFunction

java.lang.Object
org.citrusframework.functions.core.StringLengthFunction
All Implemented Interfaces:
org.citrusframework.functions.Function, org.citrusframework.functions.ParameterizedFunction<StringParameter>, StringFunction

public class StringLengthFunction extends Object implements StringFunction
Returning the length of a given string argument.
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.citrusframework.functions.ParameterizedFunction

    execute

    Methods inherited from interface org.citrusframework.functions.StringFunction

    execute, getParameters
  • Constructor Details

    • StringLengthFunction

      public StringLengthFunction()
  • Method Details

    • execute

      public String execute(String param, org.citrusframework.context.TestContext context)
      Description copied from interface: StringFunction
      Execute function with the single String parameter.
      Specified by:
      execute in interface StringFunction