Class SpelFunctionCallback
- java.lang.Object
-
- com.chutneytesting.engine.domain.execution.evaluation.SpelFunctionCallback
-
- All Implemented Interfaces:
org.springframework.util.ReflectionUtils.MethodCallback
public class SpelFunctionCallback extends Object implements org.springframework.util.ReflectionUtils.MethodCallback
Spring ReflectionUtils.MethodCallback use to find all method from specified class with @SpelFunctionannotation. This class produce a SpelFunctions who contains all Method mark withSpelFunctiondeclared on class from ReflectionUtils.doWithMethods
-
-
Constructor Summary
Constructors Constructor Description SpelFunctionCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoWith(Method method)SpelFunctionsgetSpelFunctions()
-
-
-
Method Detail
-
doWith
public void doWith(Method method) throws IllegalArgumentException
- Specified by:
doWithin interfaceorg.springframework.util.ReflectionUtils.MethodCallback- Throws:
IllegalArgumentException
-
getSpelFunctions
public SpelFunctions getSpelFunctions()
-
-