Class AbsoluteFunction

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

public class AbsoluteFunction extends Object implements NumberFunction
Function returning the absolute value of a decimal number.
  • 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 parameter, 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

    • AbsoluteFunction

      public AbsoluteFunction()
  • Method Details

    • execute

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