
protected static class DevMode.HostedModeOptionsImpl extends DevModeBase.HostedModeBaseOptionsImpl implements DevMode.HostedModeOptions
OPTIMIZE_LEVEL_DEFAULT, OPTIMIZE_LEVEL_DRAFT, OPTIMIZE_LEVEL_MAX| Modifier | Constructor and Description |
|---|---|
protected |
HostedModeOptionsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addModuleName(String moduleName)
Sets the name of the module.
|
void |
copyFrom(CompileTaskOptions other) |
File |
getCompilerWorkDir(String moduleName) |
File |
getDeployDir()
Returns the deploy directory.
|
File |
getExtraDir()
Returns the extra resource directory.
|
int |
getLocalWorkers()
Returns the number of workers to run on this machine.
|
TreeLogger.Type |
getLogLevel()
Returns the tree logger level.
|
List<String> |
getModuleNames()
Returns the list of module names.
|
File |
getSaveSourceOutput()
Returns the directory or jar where the GWT compiler should write the source code,
or null if the source files shouldn't be written.
|
ServletContainerLauncher |
getServletContainerLauncher() |
String |
getServletContainerLauncherArgs() |
File |
getWarDir()
Returns the output directory.
|
File |
getWorkDir()
Returns the compiler work directory.
|
void |
setDeployDir(File deployDir)
Sets the deploy directory.
|
void |
setExtraDir(File extraDir)
Sets the extra resource directory.
|
void |
setLocalWorkers(int localWorkers)
Sets the number of workers to run on this machine.
|
void |
setLogLevel(TreeLogger.Type logLevel)
Sets the tree logger level.
|
void |
setModuleNames(List<String> moduleNames)
Sets the list of module names.
|
void |
setOutDir(File outDir)
Deprecated.
|
void |
setSaveSourceOutput(File debugDir)
Sets the directory or jar where the GWT compiler should write the source code,
or null to skip writing it.
|
void |
setServletContainerLauncher(ServletContainerLauncher scl) |
void |
setServletContainerLauncherArgs(String args) |
void |
setWarDir(File warDir)
Sets the output directory.
|
void |
setWorkDir(File workDir)
Sets the compiler work directory.
|
addStartupURL, alsoLogToFile, getBindAddress, getClientId, getCodeServerPort, getConnectAddress, getLogDir, getLogFile, getPort, getRemoteUIHost, getRemoteUIHostPort, getStartupURLs, isNoServer, setBindAddress, setClientId, setCodeServerPort, setConnectAddress, setLogFile, setNoServer, setPort, setRemoteUIHost, setRemoteUIHostPort, useRemoteUIcopyFrom, copyFrom, enforceStrictResources, getFragmentCount, getFragmentsMerge, getGenDir, getMaxPermsPerPrecompile, getOptimizationLevel, getOutput, getSourceLevel, isAggressivelyOptimize, isCastCheckingDisabled, isClassMetadataDisabled, isClosureCompilerEnabled, isCompilerMetricsEnabled, isDraftCompile, isEnableAssertions, isEnabledGeneratingOnShards, isOptimizePrecompile, isRunAsyncEnabled, isSoycEnabled, isSoycExtra, isSoycHtmlDisabled, isStrict, isUpdateCheckDisabled, isValidateOnly, setAggressivelyOptimize, setCastCheckingDisabled, setClassMetadataDisabled, setClosureCompilerEnabled, setClusterSimilarFunctions, setCompilerMetricsEnabled, setDisableUpdateCheck, setEnableAssertions, setEnabledGeneratingOnShards, setEnforceStrictResources, setFragmentCount, setFragmentsMerge, setGenDir, setInlineLiteralParameters, setMaxPermsPerPrecompile, setOptimizationLevel, setOptimizeDataflow, setOptimizePrecompile, setOrdinalizeEnums, setOutput, setRemoveDuplicateFunctions, setRunAsyncEnabled, setSaveSource, setSourceLevel, setSoycEnabled, setSoycExtra, setSoycHtmlDisabled, setStrict, setValidateOnly, shouldClusterSimilarFunctions, shouldInlineLiteralParameters, shouldOptimizeDataflow, shouldOrdinalizeEnums, shouldRemoveDuplicateFunctions, shouldSaveSourcealsoLogToFile, getLogDir, getLogFile, setLogFileisNoServer, setNoServergetPort, setPortgetCodeServerPort, setCodeServerPortaddStartupURL, getStartupURLsgetClientId, getRemoteUIHost, getRemoteUIHostPort, setClientId, setRemoteUIHost, setRemoteUIHostPort, useRemoteUIgetBindAddress, getConnectAddress, setBindAddress, setConnectAddressgetOptimizationLevel, setOptimizationLevelisAggressivelyOptimize, setAggressivelyOptimizesetClusterSimilarFunctions, shouldClusterSimilarFunctionsisClassMetadataDisabled, setClassMetadataDisabledisCastCheckingDisabled, setCastCheckingDisabledisEnableAssertions, setEnableAssertionssetInlineLiteralParameters, shouldInlineLiteralParameterssetOptimizeDataflow, shouldOptimizeDataflowisRunAsyncEnabled, setRunAsyncEnabledgetOutput, setOutputisSoycEnabled, setSoycEnabledisSoycExtra, setSoycExtraisOptimizePrecompile, setOptimizePrecompilesetOrdinalizeEnums, shouldOrdinalizeEnumssetRemoveDuplicateFunctions, shouldRemoveDuplicateFunctionsisStrict, setStrictenforceStrictResources, setEnforceStrictResourcesisSoycHtmlDisabled, setSoycHtmlDisabledisCompilerMetricsEnabled, setCompilerMetricsEnabledisClosureCompilerEnabled, setClosureCompilerEnabledgetFragmentsMerge, setFragmentsMergegetFragmentCount, setFragmentCountgetSourceLevel, setSourceLevelgetGenDir, setGenDirsetSaveSource, shouldSaveSourceisValidateOnly, setValidateOnlyisUpdateCheckDisabled, setDisableUpdateCheckisEnabledGeneratingOnShards, setEnabledGeneratingOnShardsgetMaxPermsPerPrecompile, setMaxPermsPerPrecompileaddModuleName, getModuleNames, setModuleNamesgetLogLevel, setLogLevelgetWorkDir, setWorkDirpublic File getDeployDir()
OptionDeployDirgetDeployDir in interface OptionDeployDirpublic File getExtraDir()
OptionExtraDirgetExtraDir in interface OptionExtraDirpublic int getLocalWorkers()
OptionLocalWorkersgetLocalWorkers in interface OptionLocalWorkerspublic File getSaveSourceOutput()
OptionSaveSourceOutputgetSaveSourceOutput in interface OptionSaveSourceOutputpublic ServletContainerLauncher getServletContainerLauncher()
getServletContainerLauncher in interface DevMode.HostedModeOptionspublic String getServletContainerLauncherArgs()
getServletContainerLauncherArgs in interface DevMode.HostedModeOptionspublic File getWarDir()
OptionWarDirgetWarDir in interface OptionWarDirpublic void setDeployDir(File deployDir)
OptionDeployDirsetDeployDir in interface OptionDeployDirpublic void setExtraDir(File extraDir)
OptionExtraDirsetExtraDir in interface OptionExtraDirpublic void setLocalWorkers(int localWorkers)
OptionLocalWorkerssetLocalWorkers in interface OptionLocalWorkers@Deprecated public void setOutDir(File outDir)
public void setSaveSourceOutput(File debugDir)
OptionSaveSourceOutputsetSaveSourceOutput in interface OptionSaveSourceOutputpublic void setServletContainerLauncher(ServletContainerLauncher scl)
setServletContainerLauncher in interface DevMode.HostedModeOptionspublic void setServletContainerLauncherArgs(String args)
setServletContainerLauncherArgs in interface DevMode.HostedModeOptionspublic void setWarDir(File warDir)
OptionWarDirsetWarDir in interface OptionWarDirpublic void addModuleName(String moduleName)
OptionModuleNameaddModuleName in interface OptionModuleNamepublic void copyFrom(CompileTaskOptions other)
public TreeLogger.Type getLogLevel()
OptionLogLevelgetLogLevel in interface OptionLogLevelpublic List<String> getModuleNames()
OptionModuleNamegetModuleNames in interface OptionModuleNamepublic File getWorkDir()
OptionWorkDirgetWorkDir in interface OptionWorkDirpublic void setLogLevel(TreeLogger.Type logLevel)
OptionLogLevelsetLogLevel in interface OptionLogLevelpublic void setModuleNames(List<String> moduleNames)
OptionModuleNamesetModuleNames in interface OptionModuleNamepublic void setWorkDir(File workDir)
OptionWorkDirsetWorkDir in interface OptionWorkDirCopyright © 2018. All rights reserved.