Package | Description |
---|---|
org.apache.sling.scripting.sightly.use |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
Modifier and Type | Method and Description |
---|---|
static ProviderOutcome |
ProviderOutcome.failure()
Create a failed outcome without a specific
cause . |
static ProviderOutcome |
ProviderOutcome.failure(java.lang.Throwable cause)
Create a failed outcome with the given
cause . |
static ProviderOutcome |
ProviderOutcome.notNullOrFailure(java.lang.Object obj)
If the given obj is not
null return a successful outcome , with the given result. |
ProviderOutcome |
UseProvider.provide(java.lang.String identifier,
RenderContext renderContext,
javax.script.Bindings arguments)
Provide an instance based on the given identifier
|
static ProviderOutcome |
ProviderOutcome.success(java.lang.Object result)
Create a successful outcome
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.