Class EnvironmentPropertyFunction

  • All Implemented Interfaces:
    com.consol.citrus.functions.Function, org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware

    public class EnvironmentPropertyFunction
    extends Object
    implements com.consol.citrus.functions.Function, org.springframework.context.EnvironmentAware
    Function returns given string argument in lower case.
    Author:
    Christoph Deppisch
    • Constructor Detail

      • EnvironmentPropertyFunction

        public EnvironmentPropertyFunction()
    • Method Detail

      • execute

        public String execute​(List<String> parameterList,
                              com.consol.citrus.context.TestContext context)
        Specified by:
        execute in interface com.consol.citrus.functions.Function
      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        Specified by:
        setEnvironment in interface org.springframework.context.EnvironmentAware