public class ScriptUseProvider extends Object implements org.apache.sling.scripting.sightly.use.UseProvider
This provider returns a non-failure outcome only if the evaluated script actually returns something. For more details check the
implementation of the SlingScript.eval(SlingBindings) method for the available script engines from your platform.
| Constructor and Description |
|---|
ScriptUseProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sling.scripting.sightly.use.ProviderOutcome |
provide(String scriptName,
org.apache.sling.scripting.sightly.render.RenderContext renderContext,
Bindings arguments) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.