Class CachedScriptImpl
- java.lang.Object
-
- org.apache.sling.scripting.core.impl.helper.CachedScriptImpl
-
- All Implemented Interfaces:
org.apache.sling.scripting.api.CachedScript
public class CachedScriptImpl extends java.lang.Object implements org.apache.sling.scripting.api.CachedScript
-
-
Constructor Summary
Constructors Constructor Description CachedScriptImpl(java.lang.String scriptPath, javax.script.CompiledScript compiledScript)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.script.CompiledScript
getCompiledScript()
java.lang.String
getScriptPath()
-
-
-
Method Detail
-
getScriptPath
public java.lang.String getScriptPath()
- Specified by:
getScriptPath
in interfaceorg.apache.sling.scripting.api.CachedScript
-
getCompiledScript
public javax.script.CompiledScript getCompiledScript()
- Specified by:
getCompiledScript
in interfaceorg.apache.sling.scripting.api.CachedScript
-
-