|
Spiffy UI Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.spiffyui.maven.plugins.utils.SpiffyGwtModuleReader
public class SpiffyGwtModuleReader
The SpiffyGwtModuleReader finds GWT modules in a Maven project and makes them available for GWT compilation.
This class finds GWT modules and creates a new module which inherits from the existing module and inserts our build properties, returns the new temporary project file, and marks the temporary project file for deletion when the build is complete.
Constructor Summary | |
---|---|
SpiffyGwtModuleReader(org.apache.maven.project.MavenProject mavenProject,
Log log,
ClasspathBuilder classpathBuilder,
java.lang.String userAgents,
java.lang.String locales)
Create a new SpiffyGwtModuleReader. |
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getGwtModules()
Get the GWT modules for this project. |
GwtModule |
readModule(java.lang.String name)
Read a specified GWT module into the project. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpiffyGwtModuleReader(org.apache.maven.project.MavenProject mavenProject, Log log, ClasspathBuilder classpathBuilder, java.lang.String userAgents, java.lang.String locales)
mavenProject
- the maven projectlog
- the logging objectclasspathBuilder
- the classpath builderuserAgents
- the user agents for this project or null to leave the default agentslocales
- the locales for this project or null to leave the default localesMethod Detail |
---|
public java.util.List<java.lang.String> getGwtModules()
public GwtModule readModule(java.lang.String name) throws GwtModuleReaderException
name
- the name of the module to read
GwtModuleReaderException
- if there an error reading the module
|
Spiffy UI Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |