Class CachedScriptImpl
java.lang.Object
org.apache.sling.scripting.core.impl.helper.CachedScriptImpl
- All Implemented Interfaces:
CachedScript
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the compiled script which can be used for further executions / evaluations.Returns the path of the script which was compiled and cached.
-
Constructor Details
-
CachedScriptImpl
-
-
Method Details
-
getScriptPath
Description copied from interface:CachedScript
Returns the path of the script which was compiled and cached.- Specified by:
getScriptPath
in interfaceCachedScript
- Returns:
- the script's path
-
getCompiledScript
Description copied from interface:CachedScript
Returns the compiled script which can be used for further executions / evaluations.- Specified by:
getCompiledScript
in interfaceCachedScript
- Returns:
- the compiled script
-