Class EnvironmentPropertyFunction

java.lang.Object
org.citrusframework.functions.core.EnvironmentPropertyFunction
All Implemented Interfaces:
Function, org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware

public class EnvironmentPropertyFunction extends Object implements Function, org.springframework.context.EnvironmentAware
Function to get environment variable settings.
Author:
Christoph Deppisch
  • Constructor Details

    • EnvironmentPropertyFunction

      public EnvironmentPropertyFunction()
  • Method Details

    • execute

      public String execute(List<String> parameterList, TestContext context)
      Specified by:
      execute in interface Function
    • setEnvironment

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

      public org.springframework.core.env.Environment getEnvironment()