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
-
Field Summary
Fields inherited from interface org.citrusframework.functions.Function
functions, logger, RESOURCE_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(List<String> parameterList, TestContext context) org.springframework.core.env.EnvironmentvoidsetEnvironment(org.springframework.core.env.Environment environment)
-
Constructor Details
-
EnvironmentPropertyFunction
public EnvironmentPropertyFunction()
-
-
Method Details
-
execute
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
getEnvironment
public org.springframework.core.env.Environment getEnvironment()
-