Package com.consol.citrus.functions.core
Class EnvironmentPropertyFunction
- java.lang.Object
-
- com.consol.citrus.functions.core.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 Summary
Constructors Constructor Description EnvironmentPropertyFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute(List<String> parameterList, com.consol.citrus.context.TestContext context)
void
setEnvironment(org.springframework.core.env.Environment environment)
-
-
-
Method Detail
-
execute
public String execute(List<String> parameterList, com.consol.citrus.context.TestContext context)
- Specified by:
execute
in interfacecom.consol.citrus.functions.Function
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- Specified by:
setEnvironment
in interfaceorg.springframework.context.EnvironmentAware
-
-