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 booleanacceptMethod(Class<?> type, String methodName) Instead of adding an additionalAllowedMethodContributionor editing the whitelist, additional accessible methods provided by thisScriptVariableProvidercan 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 additionalAllowedMethodContributionor editing the whitelist, additional accessible methods provided by thisScriptVariableProvidercan be specified here. 
 -