Class CachedScriptImpl

java.lang.Object
org.apache.sling.scripting.core.impl.helper.CachedScriptImpl
All Implemented Interfaces:
CachedScript

public class CachedScriptImpl extends Object implements CachedScript
  • Constructor Details

  • Method Details

    • getScriptPath

      public String getScriptPath()
      Description copied from interface: CachedScript
      Returns the path of the script which was compiled and cached.
      Specified by:
      getScriptPath in interface CachedScript
      Returns:
      the script's path
    • getCompiledScript

      public CompiledScript getCompiledScript()
      Description copied from interface: CachedScript
      Returns the compiled script which can be used for further executions / evaluations.
      Specified by:
      getCompiledScript in interface CachedScript
      Returns:
      the compiled script