Class GlobalVariablesPropertyLoader

java.lang.Object
org.citrusframework.variable.GlobalVariablesPropertyLoader
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class GlobalVariablesPropertyLoader extends Object implements org.springframework.beans.factory.InitializingBean
Loads properties from an external property file and creates global test variables.
Author:
Christoph Deppisch
  • Field Details

  • Constructor Details

    • GlobalVariablesPropertyLoader

      public GlobalVariablesPropertyLoader()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Load the properties as variables.
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • setPropertyFiles

      public void setPropertyFiles(List<String> propertyFiles)
      Set list of property files to be loaded
      Parameters:
      propertyFiles -
    • getPropertyFiles

      public List<String> getPropertyFiles()
      Get the property files.
      Returns:
      the propertyFiles
    • setGlobalVariables

      public void setGlobalVariables(GlobalVariables globalVariables)
      Set the global variables.
      Parameters:
      globalVariables - the globalVariables to set
    • setFunctionRegistry

      public void setFunctionRegistry(FunctionRegistry functionRegistry)
      Set the function registry.
      Parameters:
      functionRegistry - the functionRegistry to set