Interface CompileCallback

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void compiledGroovyClass​(groovy.lang.GroovyClassLoader groovyCl, org.codehaus.groovy.tools.GroovyClass clazz)  
      void recordPath​(java.lang.String relativeUrlPath, java.lang.String sourceLocation)  
      void recordRouteId​(java.lang.String routeId, java.util.List<java.lang.String> argNames, java.lang.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 Detail

      • compiledGroovyClass

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

        void recordRouteId​(java.lang.String routeId,
                           java.util.List<java.lang.String> argNames,
                           java.lang.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​(java.lang.String relativeUrlPath,
                        java.lang.String sourceLocation)