org.codehaus.enunciate.modules.gwt.config
Class GWTApp

java.lang.Object
  extended by org.codehaus.enunciate.modules.gwt.config.GWTApp

public class GWTApp
extends java.lang.Object

Configuration element for a GWT app.

Author:
Ryan Heaton

Nested Class Summary
static class GWTApp.JavaScriptStyle
           
 
Constructor Summary
GWTApp()
           
 
Method Summary
 void addModule(GWTAppModule module)
          The module to add.
 GWTApp.JavaScriptStyle getJavascriptStyle()
          The javascript style.
 java.util.List<GWTAppModule> getModules()
          The set of modules to compile.
 java.lang.String getName()
          The name of this GWT app.
 java.lang.String getSrcDir()
          The source directory of the app (relative to the configuration file).
 void setJavascriptStyle(GWTApp.JavaScriptStyle javascriptStyle)
          The javascript style.
 void setJavascriptStyleValue(java.lang.String javascriptStyle)
          The javascript style value.
 void setName(java.lang.String name)
          The name of this GWT app.
 void setSrcDir(java.lang.String srcDir)
          The source directory of the app (relative to the configuration file).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GWTApp

public GWTApp()
Method Detail

getName

public java.lang.String getName()
The name of this GWT app.

Returns:
The name of this GWT app.

setName

public void setName(java.lang.String name)
The name of this GWT app.

Parameters:
name - The name of this GWT app.

getSrcDir

public java.lang.String getSrcDir()
The source directory of the app (relative to the configuration file).

Returns:
The source directory.

setSrcDir

public void setSrcDir(java.lang.String srcDir)
The source directory of the app (relative to the configuration file).

Parameters:
srcDir - The source directory of the app (relative to the configuration file).

getJavascriptStyle

public GWTApp.JavaScriptStyle getJavascriptStyle()
The javascript style.

Returns:
The javascript style.

setJavascriptStyle

public void setJavascriptStyle(GWTApp.JavaScriptStyle javascriptStyle)
The javascript style.

Parameters:
javascriptStyle - The javascript style.

setJavascriptStyleValue

public void setJavascriptStyleValue(java.lang.String javascriptStyle)
The javascript style value.

Parameters:
javascriptStyle - The javascript style value.

getModules

public java.util.List<GWTAppModule> getModules()
The set of modules to compile.

Returns:
The set of modules to compile.

addModule

public void addModule(GWTAppModule module)
The module to add.

Parameters:
module - The module to add.