public class GwtSuperDevOptionsImpl extends Object implements GwtSuperDevOptions
GwtSuperDevOptions
.Constructor and Description |
---|
GwtSuperDevOptionsImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getBindAddress() |
Boolean |
getNoPrecompile() |
Integer |
getPort() |
Boolean |
getUseClasspathForSrc() |
File |
getWorkDir() |
void |
setBindAddress(String bindAddress)
Sets the "-bindAddress" option that defines to which network ip the socket should be bound.
|
void |
setNoPrecompile(Boolean noPrecompile)
Sets the "-noprecompile" flag that causes the Super Dev Mode to not compile the
modules on startup but only at access.
|
void |
setPort(Integer port)
Sets the "-port" option that defines to which port the socket should be bound.
|
void |
setUseClasspathForSrc(Boolean useClasspathForSrc)
If set to true, this causes the src to be prepended to the classpath instead of using -src parameters.
|
void |
setWorkDir(File workDir)
Sets the "-workDir" option that specifies the directory where the Super Dev Mode outputs its
generated files.
|
public File getWorkDir()
getWorkDir
in interface GwtSuperDevOptions
GwtSuperDevOptions.setWorkDir(File)
public void setWorkDir(File workDir)
setWorkDir
in interface GwtSuperDevOptions
workDir
- the workDir to setpublic String getBindAddress()
getBindAddress
in interface GwtSuperDevOptions
public void setBindAddress(String bindAddress)
setBindAddress
in interface GwtSuperDevOptions
bindAddress
- the bindAddress to setpublic Integer getPort()
getPort
in interface GwtSuperDevOptions
public void setPort(Integer port)
setPort
in interface GwtSuperDevOptions
port
- the port to set. Valid range is [1; 65535].public Boolean getNoPrecompile()
getNoPrecompile
in interface GwtSuperDevOptions
public void setNoPrecompile(Boolean noPrecompile)
setNoPrecompile
in interface GwtSuperDevOptions
noPrecompile
- true if the noPrecompile flag should be set, false otherwisepublic void setUseClasspathForSrc(Boolean useClasspathForSrc)
setUseClasspathForSrc
in interface GwtSuperDevOptions
useClasspathForSrc
- true to add the src to the classpath, false to use -src parameterspublic Boolean getUseClasspathForSrc()
getUseClasspathForSrc
in interface GwtSuperDevOptions