Class AvgFunction

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

public class AvgFunction extends Object implements NumericFunction
Function returning the average of a set of numeric values.
  • 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

    • AvgFunction

      public AvgFunction()
  • Method Details

    • execute

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