| java.lang.Object com.google.gwt.dev.cfg.ModuleDef
ModuleDef | public class ModuleDef implements PublicOracle(Code) | | Represents a module specification. In principle, this could be built without
XML for unit tests.
|
Method Summary | |
public synchronized void | addEntryPointTypeName(String typeName) | public void | addGwtXmlFile(File xmlFile) | public synchronized void | addPublicPackage(String publicPackage, String[] includeList, String[] excludeList, boolean defaultExcludes, boolean caseSensitive) | public void | addSourcePackage(String sourcePackage, String[] includeList, String[] excludeList, boolean defaultExcludes, boolean caseSensitive) | public void | addSourcePackageImpl(String sourcePackage, String[] includeList, String[] excludeList, boolean defaultExcludes, boolean caseSensitive, boolean isSuperSource) | public void | addSuperSourcePackage(String superSourcePackage, String[] includeList, String[] excludeList, boolean defaultExcludes, boolean caseSensitive) | public void | clearEntryPoints() | public synchronized URL | findPublicFile(String partialPath) | public synchronized String | findServletForPath(String actual) | synchronized URL | findSourceFile(String partialPath) Returns the URL for a source file if it is found; false
otherwise. | public String[] | getAllPublicFiles() | public CacheManager | getCacheManager() | public synchronized CompilationUnitProvider[] | getCompilationUnits() | public synchronized String[] | getEntryPointTypeNames() | public synchronized String | getFunctionName() | public synchronized String | getName() | public synchronized Properties | getProperties() The properties that have been defined. | public synchronized Rules | getRules() Gets a reference to the internal rules for this module def. | public Scripts | getScripts() Gets a reference to the internal scripts list for this module def. | public synchronized String[] | getServletPaths() | public Styles | getStyles() Gets a reference to the internal styles list for this module def. | public synchronized TypeOracle | getTypeOracle(TreeLogger logger) | public boolean | isGwtXmlFileStale() | public static boolean | isValidModuleName(String moduleName) | public synchronized void | mapServlet(String path, String servletClassName) For convenience in hosted mode, servlets can be automatically loaded and
delegated to via
com.google.gwt.dev.shell.GWTShellServlet . | synchronized void | normalize(TreeLogger logger) The final method to call when everything is setup. | public synchronized void | refresh(TreeLogger logger) |
addEntryPointTypeName | public synchronized void addEntryPointTypeName(String typeName)(Code) | | |
addGwtXmlFile | public void addGwtXmlFile(File xmlFile)(Code) | | |
addPublicPackage | public synchronized void addPublicPackage(String publicPackage, String[] includeList, String[] excludeList, boolean defaultExcludes, boolean caseSensitive)(Code) | | |
addSourcePackage | public void addSourcePackage(String sourcePackage, String[] includeList, String[] excludeList, boolean defaultExcludes, boolean caseSensitive)(Code) | | |
addSourcePackageImpl | public void addSourcePackageImpl(String sourcePackage, String[] includeList, String[] excludeList, boolean defaultExcludes, boolean caseSensitive, boolean isSuperSource)(Code) | | |
addSuperSourcePackage | public void addSuperSourcePackage(String superSourcePackage, String[] includeList, String[] excludeList, boolean defaultExcludes, boolean caseSensitive)(Code) | | |
clearEntryPoints | public void clearEntryPoints()(Code) | | |
findPublicFile | public synchronized URL findPublicFile(String partialPath)(Code) | | |
findSourceFile | synchronized URL findSourceFile(String partialPath)(Code) | | Returns the URL for a source file if it is found; false
otherwise.
NOTE: this method is for testing only.
Parameters: partialPath - |
getEntryPointTypeNames | public synchronized String[] getEntryPointTypeNames()(Code) | | |
getFunctionName | public synchronized String getFunctionName()(Code) | | |
getProperties | public synchronized Properties getProperties()(Code) | | The properties that have been defined.
|
getRules | public synchronized Rules getRules()(Code) | | Gets a reference to the internal rules for this module def.
|
getScripts | public Scripts getScripts()(Code) | | Gets a reference to the internal scripts list for this module def.
|
getServletPaths | public synchronized String[] getServletPaths()(Code) | | |
getStyles | public Styles getStyles()(Code) | | Gets a reference to the internal styles list for this module def.
|
isGwtXmlFileStale | public boolean isGwtXmlFileStale()(Code) | | |
isValidModuleName | public static boolean isValidModuleName(String moduleName)(Code) | | |
mapServlet | public synchronized void mapServlet(String path, String servletClassName)(Code) | | For convenience in hosted mode, servlets can be automatically loaded and
delegated to via
com.google.gwt.dev.shell.GWTShellServlet . If a
servlet is already mapped to the specified path, it is replaced.
Parameters: path - the url path at which the servlet resides Parameters: servletClassName - the name of the servlet to publish |
normalize | synchronized void normalize(TreeLogger logger)(Code) | | The final method to call when everything is setup. Before calling this
method, several of the getter methods may not be called. After calling this
method, the add methods may not be called.
Parameters: logger - Logs the activity. |
|
|