@Version("2.5.0")
Package org.apache.sling.api.scripting
-
Interface Summary Interface Description LazyBindings.Supplier This marker interface should be used for suppliers which should be unwrapped when used as values stored in aLazyBindings
map.SlingScript TheSlingScript
defines the API for objects which encapsulate a script.SlingScriptHelper TheSlingScriptHelper
interface defines the API of a helper class which is provided to the scripts called from sling through the global
variable.sling
SlingScriptResolver Deprecated. The SlingScriptResolver interface is intended to be implemented and also used by project specific code. -
Class Summary Class Description LazyBindings TheLazyBindings
wraps another map and dynamically provides entries for the wrapped map through a map ofLazyBindings.Supplier
s.SlingBindings TheSlingBindings
class is used to prepare global variables for script execution.SlingScriptConstants Some constants for the scripting. -
Exception Summary Exception Description InvalidServiceFilterSyntaxException Thrown when an invalid service filter is usedScriptEvaluationException TheScriptEvaluationException
is thrown by theSlingScript.eval(SlingBindings)
method if an error occurrs evaluating the script.