Interface CompileCallback

All Known Implementing Classes:
DevTemplateCompileCallback

public interface CompileCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    compiledGroovyClass(groovy.lang.GroovyClassLoader groovyCl, org.codehaus.groovy.tools.GroovyClass clazz)
     
    void
    recordPath(String relativeUrlPath, String sourceLocation)
     
    void
    recordRouteId(String routeId, List<String> argNames, String sourceLocation)
    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.
  • Method Details

    • compiledGroovyClass

      void compiledGroovyClass(groovy.lang.GroovyClassLoader groovyCl, org.codehaus.groovy.tools.GroovyClass clazz)
    • recordRouteId

      void recordRouteId(String routeId, List<String> argNames, String sourceLocation)
      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)
      Parameters:
      routeId -
      argNames -
      sourceLocation -
    • recordPath

      void recordPath(String relativeUrlPath, String sourceLocation)