# Index

A C D E G H I J O P Q R S T U
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## A

activate(SlyBindingsValuesProvider.Configuration) - Method in class org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider
adapt(Object) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.JsValueAdapter
  Convert a given JS value to a Java object
addBindings(Bindings) - Method in class org.apache.sling.scripting.sightly.js.impl.async.TimingBindingsValuesProvider
addListener(UnaryCallback) - Method in class org.apache.sling.scripting.sightly.js.impl.async.AsyncContainer
  Add a listener that will receive the value in this container when it will be filled.
AsyncContainer - Class in org.apache.sling.scripting.sightly.js.impl.async
  Simple container for asynchronously provided values
AsyncContainer() - Constructor for class org.apache.sling.scripting.sightly.js.impl.async.AsyncContainer
AsyncExtractor - Class in org.apache.sling.scripting.sightly.js.impl.async
AsyncExtractor() - Constructor for class org.apache.sling.scripting.sightly.js.impl.async.AsyncExtractor

## C

call(Context, Scriptable, Scriptable, Object[]) - Method in class org.apache.sling.scripting.sightly.js.impl.async.TimingFunction
call(Context, Scriptable, Scriptable, Object[]) - Method in class org.apache.sling.scripting.sightly.js.impl.use.UseFunction
callFn(Function, Context, Scriptable, Scriptable, Object[]) - Static method in class org.apache.sling.scripting.sightly.js.impl.rhino.JsUtils
cleanupEventLoop(Context) - Static method in class org.apache.sling.scripting.sightly.js.impl.loop.EventLoopInterop
CommonJsModule - Class in org.apache.sling.scripting.sightly.js.impl.cjs
  CommonJS module implementation
CommonJsModule() - Constructor for class org.apache.sling.scripting.sightly.js.impl.cjs.CommonJsModule
complete(Object) - Method in class org.apache.sling.scripting.sightly.js.impl.async.AsyncContainer
  Complete this async container with a value
createCompletionCallback() - Method in class org.apache.sling.scripting.sightly.js.impl.async.AsyncContainer
  Create a callback that will complete this container

## D

deactivate() - Method in class org.apache.sling.scripting.sightly.js.impl.loop.Task
deactivate(ComponentContext) - Method in class org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider
delete(int) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
delete(String) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
DependencyResolver - Class in org.apache.sling.scripting.sightly.js.impl.use
  Resolves dependencies specified by the Use function
DependencyResolver(ResourceResolver) - Constructor for class org.apache.sling.scripting.sightly.js.impl.use.DependencyResolver

## E

EVENT_LOOP_KEY - Static variable in class org.apache.sling.scripting.sightly.js.impl.loop.EventLoopInterop
EventLoop - Class in org.apache.sling.scripting.sightly.js.impl.loop
  Simulates an event loop for the Rhino JS engine.
EventLoop() - Constructor for class org.apache.sling.scripting.sightly.js.impl.loop.EventLoop
EventLoopInterop - Class in org.apache.sling.scripting.sightly.js.impl.loop
  Event-loop utilities for interoperability with JS code
EventLoopInterop() - Constructor for class org.apache.sling.scripting.sightly.js.impl.loop.EventLoopInterop
ExportsObject - Class in org.apache.sling.scripting.sightly.js.impl.cjs
  The default exports object
ExportsObject() - Constructor for class org.apache.sling.scripting.sightly.js.impl.cjs.ExportsObject
extract(Object, UnaryCallback) - Method in class org.apache.sling.scripting.sightly.js.impl.async.AsyncExtractor

## G

get(int, Scriptable) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
get(String, Scriptable) - Method in class org.apache.sling.scripting.sightly.js.impl.cjs.CommonJsModule
get(String, Scriptable) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
getClassName() - Method in class org.apache.sling.scripting.sightly.js.impl.cjs.CommonJsModule
getClassName() - Method in class org.apache.sling.scripting.sightly.js.impl.cjs.ExportsObject
getClassName() - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
getDefaultValue(Class) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
getExports() - Method in class org.apache.sling.scripting.sightly.js.impl.cjs.CommonJsModule
getIds() - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
getParentScope() - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
getProperty(String) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
getPropertyNames() - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
getPrototype() - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
getResult() - Method in class org.apache.sling.scripting.sightly.js.impl.async.AsyncContainer
  Get the result of this holder
getScriptPaths() - Method in class org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider

## H

has(int, Scriptable) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
has(String, Scriptable) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
hasInstance(Scriptable) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
HybridObject - Class in org.apache.sling.scripting.sightly.js.impl.rhino
  Instances of this class can be used in both HTL & JavaScript scripts.
HybridObject(Scriptable, JsValueAdapter) - Constructor for class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject

## I

initialise(ResourceResolver, JsEnvironment, Bindings) - Method in class org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider
INSTANCE - Static variable in class org.apache.sling.scripting.sightly.js.impl.async.TimingBindingsValuesProvider
INSTANCE - Static variable in class org.apache.sling.scripting.sightly.js.impl.async.TimingFunction
invoke(Object) - Method in interface org.apache.sling.scripting.sightly.js.impl.async.UnaryCallback
  Call the callback with one argument
isCompleted() - Method in class org.apache.sling.scripting.sightly.js.impl.async.AsyncContainer
  Check whether the container was completed with a value
isModified() - Method in class org.apache.sling.scripting.sightly.js.impl.cjs.CommonJsModule
isModified() - Method in class org.apache.sling.scripting.sightly.js.impl.cjs.ExportsObject
isPromise(Object) - Method in class org.apache.sling.scripting.sightly.js.impl.async.AsyncExtractor

## J

JsUtils - Class in org.apache.sling.scripting.sightly.js.impl.rhino
  Utilities when inter-operating with JS scripts
JsUtils() - Constructor for class org.apache.sling.scripting.sightly.js.impl.rhino.JsUtils
JsValueAdapter - Class in org.apache.sling.scripting.sightly.js.impl.rhino
  Converts JS objects to Java objects
JsValueAdapter(AsyncExtractor) - Constructor for class org.apache.sling.scripting.sightly.js.impl.rhino.JsValueAdapter

## O

obtainEventLoop(Context) - Static method in class org.apache.sling.scripting.sightly.js.impl.loop.EventLoopInterop
org.apache.sling.scripting.sightly.js.impl.async - package org.apache.sling.scripting.sightly.js.impl.async
org.apache.sling.scripting.sightly.js.impl.cjs - package org.apache.sling.scripting.sightly.js.impl.cjs
org.apache.sling.scripting.sightly.js.impl.jsapi - package org.apache.sling.scripting.sightly.js.impl.jsapi
org.apache.sling.scripting.sightly.js.impl.loop - package org.apache.sling.scripting.sightly.js.impl.loop
org.apache.sling.scripting.sightly.js.impl.rhino - package org.apache.sling.scripting.sightly.js.impl.rhino
org.apache.sling.scripting.sightly.js.impl.use - package org.apache.sling.scripting.sightly.js.impl.use

## P

processBindings(Bindings) - Method in class org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider
ProxyAsyncScriptableFactory - Class in org.apache.sling.scripting.sightly.js.impl.jsapi
ProxyAsyncScriptableFactory() - Constructor for class org.apache.sling.scripting.sightly.js.impl.jsapi.ProxyAsyncScriptableFactory
put(int, Scriptable, Object) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
put(String, Scriptable, Object) - Method in class org.apache.sling.scripting.sightly.js.impl.cjs.CommonJsModule
put(String, Scriptable, Object) - Method in class org.apache.sling.scripting.sightly.js.impl.cjs.ExportsObject
put(String, Scriptable, Object) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject

## Q

Q_PATH - Static variable in class org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider

## R

registerProxies(ResourceResolver, JsEnvironment, Bindings) - Method in class org.apache.sling.scripting.sightly.js.impl.jsapi.ProxyAsyncScriptableFactory
resolve(Bindings, String) - Method in class org.apache.sling.scripting.sightly.js.impl.use.DependencyResolver
run() - Method in class org.apache.sling.scripting.sightly.js.impl.loop.Task

## S

schedule(Task) - Method in class org.apache.sling.scripting.sightly.js.impl.loop.EventLoop
  Add a task to the queue.
schedule(Context, Runnable) - Static method in class org.apache.sling.scripting.sightly.js.impl.loop.EventLoopInterop
SCR_PROP_JS_BINDING_IMPLEMENTATIONS - Static variable in class org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider
setExports(Object) - Method in class org.apache.sling.scripting.sightly.js.impl.cjs.CommonJsModule
setParentScope(Scriptable) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
setPrototype(Scriptable) - Method in class org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject
SLING_NS_PATH - Static variable in class org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider
SlyBindingsValuesProvider - Class in org.apache.sling.scripting.sightly.js.impl.jsapi
  Provides the `sightly` namespace for usage in HTL & JS scripts called from Sightly
SlyBindingsValuesProvider() - Constructor for class org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider

## T

Task - Class in org.apache.sling.scripting.sightly.js.impl.loop
  Task in an event loop
Task(Runnable) - Constructor for class org.apache.sling.scripting.sightly.js.impl.loop.Task
THEN_METHOD - Static variable in class org.apache.sling.scripting.sightly.js.impl.async.AsyncExtractor
TimingBindingsValuesProvider - Class in org.apache.sling.scripting.sightly.js.impl.async
  Value provider for timing functions
TimingFunction - Class in org.apache.sling.scripting.sightly.js.impl.async
  Timing function for JS scripts that use async constructs

## U

UnaryCallback - Interface in org.apache.sling.scripting.sightly.js.impl.async
  Unary callback function
UseFunction - Class in org.apache.sling.scripting.sightly.js.impl.use
  The JavaScript `use` function
UseFunction(JsEnvironment, DependencyResolver, Bindings, Bindings) - Constructor for class org.apache.sling.scripting.sightly.js.impl.use.UseFunction

A C D E G H I J O P Q R S T U
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form