public class SlingScriptConstants
extends java.lang.Object
This class is not intended to be extended or instantiated because it just provides constants not intended to be overwritten.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_SCRIPT_RESOURCE_RESOLVER
The name of the script context attribute holding the
ResourceResolver which
has been used to resolve the script. |
static java.lang.String |
PROPERTY_SCRIPT_ENGINE_FACTORY_EXTENSIONS
The event property listing the script engine factory extensions.
|
static java.lang.String |
PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_NAME
The event property listing the script engine factory language.
|
static java.lang.String |
PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_VERSION
The event property listing the script engine factory language version.
|
static java.lang.String |
PROPERTY_SCRIPT_ENGINE_FACTORY_MIME_TYPES
The event property listing the script engine factory mime types.
|
static java.lang.String |
PROPERTY_SCRIPT_ENGINE_FACTORY_NAME
The event property listing the script engine factory name.
|
static java.lang.String |
PROPERTY_SCRIPT_ENGINE_FACTORY_VERSION
The event property listing the script engine factory name.
|
static int |
SLING_SCOPE
The name of the script scope holding the
ATTR_SCRIPT_RESOURCE_RESOLVER . |
static java.lang.String |
TOPIC_SCRIPT_ENGINE_FACTORY_ADDED
The topic for the OSGi event which is sent when a script engine factory has been added.
|
static java.lang.String |
TOPIC_SCRIPT_ENGINE_FACTORY_REMOVED
The topic for the OSGi event which is sent when a script engine factory has been removed.
|
Constructor and Description |
---|
SlingScriptConstants() |
public static final java.lang.String ATTR_SCRIPT_RESOURCE_RESOLVER
ResourceResolver
which
has been used to resolve the script. This resource resolver can be used by the
script engines to further locate scripts (for includes etc.).
The value is set in the SLING_SCOPE
of the script context.public static final int SLING_SCOPE
ATTR_SCRIPT_RESOURCE_RESOLVER
.public static final java.lang.String TOPIC_SCRIPT_ENGINE_FACTORY_ADDED
PROPERTY_SCRIPT_ENGINE_FACTORY_NAME
,
PROPERTY_SCRIPT_ENGINE_FACTORY_VERSION
,
PROPERTY_SCRIPT_ENGINE_FACTORY_EXTENSIONS
,
PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_NAME
,
PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_VERSION
,
and PROPERTY_SCRIPT_ENGINE_FACTORY_MIME_TYPES
poperties.public static final java.lang.String TOPIC_SCRIPT_ENGINE_FACTORY_REMOVED
PROPERTY_SCRIPT_ENGINE_FACTORY_NAME
,
PROPERTY_SCRIPT_ENGINE_FACTORY_VERSION
,
PROPERTY_SCRIPT_ENGINE_FACTORY_EXTENSIONS
,
PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_NAME
,
PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_VERSION
,
and PROPERTY_SCRIPT_ENGINE_FACTORY_MIME_TYPES
poperties.public static final java.lang.String PROPERTY_SCRIPT_ENGINE_FACTORY_NAME
public static final java.lang.String PROPERTY_SCRIPT_ENGINE_FACTORY_VERSION
public static final java.lang.String PROPERTY_SCRIPT_ENGINE_FACTORY_EXTENSIONS
public static final java.lang.String PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_NAME
public static final java.lang.String PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_VERSION
public static final java.lang.String PROPERTY_SCRIPT_ENGINE_FACTORY_MIME_TYPES
Copyright © 2010 - 2020 Adobe. All Rights Reserved