public interface ContextProvider
Script
. It should be run just before the script is
evaluated, to ensure that the root level of the script can access the provided functions.Modifier and Type | Method and Description |
---|---|
void |
provide(Script script)
Provides context to a script, such as via
Script.setAttribute(String, Object) . |
void provide(Script script)
Script.setAttribute(String, Object)
.script
- The script to provide context to.Copyright © 2021. All rights reserved.