/** * Ask whether the compilation of the template should be deferred * * @param compilation the compilation * @return true if compilation should be deferred */ public boolean isDeferredCompilation(Compilation compilation) { return compilation.isPreScan() && getTemplateName() == null && !compilation.isLibraryPackage(); }
/** * Ask whether the compilation of the template should be deferred * * @param compilation the compilation * @return true if compilation should be deferred */ public boolean isDeferredCompilation(Compilation compilation) { return compilation.isPreScan() && getTemplateName() == null && !compilation.isLibraryPackage(); }