Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CachedScriptImpl

        public CachedScriptImpl​(java.lang.String scriptPath,
                                javax.script.CompiledScript compiledScript)
    • Method Detail

      • getScriptPath

        public java.lang.String getScriptPath()
        Specified by:
        getScriptPath in interface org.apache.sling.scripting.api.CachedScript
      • getCompiledScript

        public javax.script.CompiledScript getCompiledScript()
        Specified by:
        getCompiledScript in interface org.apache.sling.scripting.api.CachedScript