Class MailVariableProvider
java.lang.Object
ch.tocco.nice2.usermanager.impl.scripting.mail.MailVariableProvider
- All Implemented Interfaces:
ScriptVariableProvider
-
Constructor Summary
ConstructorDescriptionMailVariableProvider
(MailConfigBuilder builder, MailFactory mailFactory, GroovyEvaluationService evaluationService) -
Method Summary
Modifier and TypeMethodDescriptionboolean
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()
-
Constructor Details
-
MailVariableProvider
public MailVariableProvider(MailConfigBuilder builder, MailFactory mailFactory, GroovyEvaluationService evaluationService)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceScriptVariableProvider
-
evaluate
Description copied from interface:ScriptVariableProvider
Evaluate the variable value- Specified by:
evaluate
in interfaceScriptVariableProvider
-
acceptMethod
Description copied from interface:ScriptVariableProvider
Instead of adding an additionalAllowedMethodContribution
or editing the whitelist, additional accessible methods provided by thisScriptVariableProvider
can be specified here.- Specified by:
acceptMethod
in interfaceScriptVariableProvider
-