Class RoundFunction

java.lang.Object
org.citrusframework.functions.core.RoundFunction
All Implemented Interfaces:
org.citrusframework.functions.Function, NumberFunction, org.citrusframework.functions.ParameterizedFunction<NumberParameter>

public class RoundFunction extends Object implements NumberFunction
Function returns the closest integer value to a decimal 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(NumberParameter param, 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.NumberFunction

    getParameters

    Methods inherited from interface org.citrusframework.functions.ParameterizedFunction

    execute
  • Constructor Details

    • RoundFunction

      public RoundFunction()
  • Method Details

    • execute

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