@Role public interface ScriptContextManager
ScriptContext management. Like context initialization, etc.| Modifier and Type | Method and Description |
|---|---|
default ScriptContext |
getCurrentScriptContext() |
ScriptContext |
getScriptContext() |
ScriptContext getScriptContext()
ScriptContext. Clean means that all
ScriptContextInitializer will have been executed on the returned Script Context
which will thus contain re-initialized values for the values which are set in
ScriptContextInitializer. The values that are set before calling this method and
for which there are no ScriptContextInitializer will not be modified.default ScriptContext getCurrentScriptContext()
ScriptContext instance without any modification. This is mostly used when the only
need to to set values in the script context. In doubt always use getScriptContext().getScriptContext()Copyright © 2004–2016 XWiki. All rights reserved.