Class DevTemplateCompileCallback

java.lang.Object
org.webpieces.templatingdev.impl.DevTemplateCompileCallback
All Implemented Interfaces:
CompileCallback

public class DevTemplateCompileCallback extends Object implements CompileCallback
  • Constructor Details

    • DevTemplateCompileCallback

      public DevTemplateCompileCallback()
  • Method Details

    • compiledGroovyClass

      public void compiledGroovyClass(groovy.lang.GroovyClassLoader cl, org.codehaus.groovy.tools.GroovyClass groovyClass)
      Specified by:
      compiledGroovyClass in interface CompileCallback
    • recordRouteId

      public void recordRouteId(String routeId, List<String> argNames, String sourceLocation)
      Description copied from interface: CompileCallback
      Allows the compiler to write a file out with all routeids from html files that can be used at startup time to validate all routes so we catch any errors on mistyped route ids before going to production (ie. build time as your tests should be run then)
      Specified by:
      recordRouteId in interface CompileCallback
    • recordPath

      public void recordPath(String relativeUrlPath, String sourceLocation)
      Specified by:
      recordPath in interface CompileCallback