Class CachingModuleScriptProviderBase.CachedModuleScript

  • Enclosing class:
    CachingModuleScriptProviderBase

    public static class CachingModuleScriptProviderBase.CachedModuleScript
    extends java.lang.Object
    Instances of this class represent a loaded and cached module script.
    Version:
    $Id: CachingModuleScriptProviderBase.java,v 1.3 2011/04/07 20:26:12 hannes%helma.at Exp $
    • Constructor Summary

      Constructors 
      Constructor Description
      CachedModuleScript​(ModuleScript moduleScript, java.lang.Object validator)
      Creates a new cached module script.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) ModuleScript getModule()
      Returns the module script.
      (package private) java.lang.Object getValidator()
      Returns the validator for the module script's source text entity.
      • Methods inherited from class java.lang.Object

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

      • validator

        private final java.lang.Object validator
    • Constructor Detail

      • CachedModuleScript

        public CachedModuleScript​(ModuleScript moduleScript,
                                  java.lang.Object validator)
        Creates a new cached module script.
        Parameters:
        moduleScript - the module script itself
        validator - a validator for the moduleScript's source text entity.
    • Method Detail

      • getModule

        ModuleScript getModule()
        Returns the module script.
        Returns:
        the module script.
      • getValidator

        java.lang.Object getValidator()
        Returns the validator for the module script's source text entity.
        Returns:
        the validator for the module script's source text entity.