All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webpieces.templatingdev.api.CompileCallback Maven / Gradle / Ivy

There is a newer version: 2.1.109
Show newest version
package org.webpieces.templatingdev.api;

import java.util.List;

import org.codehaus.groovy.tools.GroovyClass;

import groovy.lang.GroovyClassLoader;

public interface CompileCallback {

	void compiledGroovyClass(GroovyClassLoader groovyCl, GroovyClass clazz);
	
	/**
	 * 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)
	 * 
	 * @param routeId
	 * @param argNames
	 * @param sourceLocation
	 */
	void recordRouteId(String routeId, List argNames, String sourceLocation);

	void recordPath(String relativeUrlPath, String sourceLocation);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy