Interface ScriptVariableProvider
- All Known Implementing Classes:
AffiliationVariableProvider
,ContextScriptVariableProvider
,CurrentBusinessUnitVariableProvider
,CurrentPrincipalVariableProvider
,CurrentUserVariableProvider
,EntityDefaultValueServiceScriptVariableProvider
,EntityManagerVariable
,LogVariable
,MailVariableProvider
,QueryVariable
public interface ScriptVariableProvider
An interface for implementing variables which will be available in dynamic groovy
scripts (see
GroovyEvaluationService
).-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
acceptMethod
(Class<?> type, String methodName) Instead of adding an additionalAllowedMethodContribution
or editing the whitelist, additional accessible methods provided by thisScriptVariableProvider
can be specified here.evaluate()
Evaluate the variable valuegetName()
-
Method Details
-
getName
String getName() -
evaluate
Object evaluate()Evaluate the variable value -
acceptMethod
Instead of adding an additionalAllowedMethodContribution
or editing the whitelist, additional accessible methods provided by thisScriptVariableProvider
can be specified here.
-