Class SumFunction

java.lang.Object
org.citrusframework.functions.core.SumFunction
All Implemented Interfaces:
org.citrusframework.functions.Function, NumericFunction, org.citrusframework.functions.ParameterizedFunction<NumericParameters>

public class SumFunction extends Object implements NumericFunction
Function to sum up all numeric arguments.
  • 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(NumericParameters params, org.citrusframework.context.TestContext context)
     

    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.NumericFunction

    getParameters

    Methods inherited from interface org.citrusframework.functions.ParameterizedFunction

    execute
  • Constructor Details

    • SumFunction

      public SumFunction()
  • Method Details

    • execute

      public String execute(NumericParameters params, org.citrusframework.context.TestContext context)
      Specified by:
      execute in interface org.citrusframework.functions.ParameterizedFunction<NumericParameters>