
protected static class DevMode.HostedModeOptionsImpl extends DevModeBase.HostedModeBaseOptionsImpl implements DevMode.HostedModeOptions
OptionMethodNameDisplayMode.ModeOptionJsInteropMode.ModeOPTIMIZE_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.
|
Properties |
getFinalProperties()
Returns the final properties.
|
List<String> |
getLibraryPaths()
Returns the list of paths to input libraries.
|
int |
getLocalWorkers()
Returns the number of workers to run on this machine.
|
TreeLogger.Type |
getLogLevel()
Returns the tree logger level.
|
File |
getModuleBaseDir()
Returns the path of the webserver root context.
|
List<String> |
getModuleNames()
Returns the list of module names.
|
String |
getOutputLibraryPath()
Returns the output library path.
|
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.
|
boolean |
isSuperDevMode() |
void |
setDeployDir(File deployDir)
Sets the deploy directory.
|
void |
setExtraDir(File extraDir)
Sets the extra resource directory.
|
void |
setFinalProperties(Properties finalProperties)
Sets the list of paths to input libraries.
|
void |
setLibraryPaths(List<String> libraryPaths)
Sets the list of paths to input libraries.
|
void |
setLink(boolean link)
Sets whether the separate compiler should link compiled output and supplied precompiled
libraries into a usable result.
|
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 |
setModulePathPrefix(String prefix)
Sets the path to be prefixed to the module output.
|
void |
setOutDir(File outDir)
Deprecated.
|
void |
setOutputLibraryPath(String outputLibraryPath)
Sets the output library path.
|
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 |
setSuperDevMode(boolean sdm) |
void |
setWarDir(File warDir)
Sets the output directory.
|
void |
setWorkDir(File workDir)
Sets the compiler work directory.
|
boolean |
shouldLink()
Whether the separate compiler should link compiled output and supplied precompiled libraries
into a usable result.
|
addStartupURL, alsoLogToFile, getBindAddress, getClientId, getCodeServerPort, getConnectAddress, getLogDir, getLogFile, getPort, getRemoteUIHost, getRemoteUIHostPort, getStartupURLs, isNoServer, setBindAddress, setClientId, setCodeServerPort, setConnectAddress, setLogFile, setNoServer, setPort, setRemoteUIHost, setRemoteUIHostPort, useRemoteUIcopyFrom, copyFrom, enforceStrictPublicResources, enforceStrictSourceResources, getFragmentCount, getFragmentsMerge, getGenDir, getJsInteropMode, getMaxPermsPerPrecompile, getMethodNameDisplayMode, getMissingDepsFile, getNamespace, getOptimizationLevel, getOutput, getSourceLevel, getSourceMapFilePrefix, isAggressivelyOptimize, isCastCheckingDisabled, isClassMetadataDisabled, isClosureCompilerEnabled, isCompilerMetricsEnabled, isDraftCompile, isEnableAssertions, isEnabledGeneratingOnShards, isIncrementalCompileEnabled, isJsonSoycEnabled, isOptimizePrecompile, isRunAsyncEnabled, isSoycEnabled, isSoycExtra, isSoycHtmlDisabled, isStrict, isUpdateCheckDisabled, isValidateOnly, setAddRuntimeChecks, setAggressivelyOptimize, setCastCheckingDisabled, setClassMetadataDisabled, setClosureCompilerEnabled, setClusterSimilarFunctions, setCompilerMetricsEnabled, setDisableUpdateCheck, setEnableAssertions, setEnabledGeneratingOnShards, setEnforceStrictPublicResources, setEnforceStrictSourceResources, setFragmentCount, setFragmentsMerge, setGenDir, setIncrementalCompileEnabled, setInlineLiteralParameters, setJsInteropMode, setJsonSoycEnabled, setMaxPermsPerPrecompile, setMethodNameDisplayMode, setMissingDepsFile, setNamespace, setOptimizationLevel, setOptimizeDataflow, setOptimizePrecompile, setOrdinalizeEnums, setOutput, setRemoveDuplicateFunctions, setRunAsyncEnabled, setSaveSource, setSourceLevel, setSourceMapFilePrefix, setSoycEnabled, setSoycExtra, setSoycHtmlDisabled, setStrict, setUseDetailedTypeIds, setValidateOnly, setWarnMissingDeps, setWarnOverlappingSource, shouldAddRuntimeChecks, shouldClusterSimilarFunctions, shouldInlineLiteralParameters, shouldJDTInlineCompileTimeConstants, shouldOptimizeDataflow, shouldOrdinalizeEnums, shouldRemoveDuplicateFunctions, shouldSaveSource, useDetailedTypeIds, warnMissingDeps, warnOverlappingSourcealsoLogToFile, getLogDir, getLogFile, setLogFileisNoServer, setNoServergetPort, setPortgetCodeServerPort, setCodeServerPortaddStartupURL, getStartupURLsgetClientId, getRemoteUIHost, getRemoteUIHostPort, setClientId, setRemoteUIHost, setRemoteUIHostPort, useRemoteUIgetBindAddress, getConnectAddress, setBindAddress, setConnectAddressgetOptimizationLevel, setOptimizationLevelisAggressivelyOptimize, setAggressivelyOptimizesetClusterSimilarFunctions, shouldClusterSimilarFunctionsisIncrementalCompileEnabled, setIncrementalCompileEnabledisClassMetadataDisabled, setClassMetadataDisabledisCastCheckingDisabled, setCastCheckingDisabledisEnableAssertions, setEnableAssertionssetInlineLiteralParameters, shouldInlineLiteralParameterssetOptimizeDataflow, shouldOptimizeDataflowisRunAsyncEnabled, setRunAsyncEnabledgetOutput, setOutputisSoycEnabled, setSoycEnabledisSoycExtra, setSoycExtraisJsonSoycEnabled, setJsonSoycEnabledisOptimizePrecompile, setOptimizePrecompilesetOrdinalizeEnums, shouldOrdinalizeEnumssetRemoveDuplicateFunctions, shouldRemoveDuplicateFunctionsisStrict, setStrictenforceStrictSourceResources, setEnforceStrictSourceResourcesenforceStrictPublicResources, setEnforceStrictPublicResourcesisSoycHtmlDisabled, setSoycHtmlDisabledisCompilerMetricsEnabled, setCompilerMetricsEnabledisClosureCompilerEnabled, setClosureCompilerEnabledgetFragmentsMerge, setFragmentsMergegetFragmentCount, setFragmentCountgetSourceLevel, setSourceLevelgetNamespace, setNamespacesetAddRuntimeChecks, shouldAddRuntimeCheckssetUseDetailedTypeIds, useDetailedTypeIdsshouldJDTInlineCompileTimeConstantsgetMethodNameDisplayMode, setMethodNameDisplayModegetGenDir, setGenDirsetSaveSource, shouldSaveSourcegetSourceMapFilePrefix, setSourceMapFilePrefixisValidateOnly, setValidateOnlyisUpdateCheckDisabled, setDisableUpdateCheckisEnabledGeneratingOnShards, setEnabledGeneratingOnShardsgetMaxPermsPerPrecompile, setMaxPermsPerPrecompilegetMissingDepsFile, setMissingDepsFilesetWarnOverlappingSource, warnOverlappingSourcesetWarnMissingDeps, warnMissingDepsaddModuleName, getModuleNames, setModuleNamesgetLogLevel, setLogLevelgetWorkDir, setWorkDirgetOutputLibraryPath, setOutputLibraryPathgetLibraryPaths, setLibraryPathsgetFinalProperties, setFinalPropertiesgetJsInteropMode, setJsInteropModesetLink, shouldLinkpublic 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 File getModuleBaseDir()
OptionModulePathPrefixgetModuleBaseDir in interface OptionModulePathPrefixpublic String getServletContainerLauncherArgs()
getServletContainerLauncherArgs in interface DevMode.HostedModeOptionspublic File getWarDir()
OptionWarDirgetWarDir in interface OptionWarDirpublic boolean isSuperDevMode()
isSuperDevMode in interface DevMode.OptionSuperDevModepublic void setDeployDir(File deployDir)
OptionDeployDirsetDeployDir in interface OptionDeployDirpublic void setExtraDir(File extraDir)
OptionExtraDirsetExtraDir in interface OptionExtraDirpublic void setLocalWorkers(int localWorkers)
OptionLocalWorkerssetLocalWorkers in interface OptionLocalWorkerspublic void setModulePathPrefix(String prefix)
OptionModulePathPrefixsetModulePathPrefix in interface OptionModulePathPrefix@Deprecated public void setOutDir(File outDir)
public void setSaveSourceOutput(File debugDir)
OptionSaveSourceOutputsetSaveSourceOutput in interface OptionSaveSourceOutputpublic void setSuperDevMode(boolean sdm)
setSuperDevMode in interface DevMode.OptionSuperDevModepublic 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 Properties getFinalProperties()
OptionFinalPropertiesgetFinalProperties in interface OptionFinalPropertiespublic List<String> getLibraryPaths()
OptionLibraryPathsgetLibraryPaths in interface OptionLibraryPathspublic TreeLogger.Type getLogLevel()
OptionLogLevelgetLogLevel in interface OptionLogLevelpublic List<String> getModuleNames()
OptionModuleNamegetModuleNames in interface OptionModuleNamepublic String getOutputLibraryPath()
OptionOutputLibraryPathgetOutputLibraryPath in interface OptionOutputLibraryPathpublic File getWorkDir()
OptionWorkDirgetWorkDir in interface OptionWorkDirpublic void setFinalProperties(Properties finalProperties)
OptionFinalPropertiessetFinalProperties in interface OptionFinalPropertiespublic void setLibraryPaths(List<String> libraryPaths)
OptionLibraryPathssetLibraryPaths in interface OptionLibraryPathspublic void setLink(boolean link)
OptionLinksetLink in interface OptionLinkpublic void setLogLevel(TreeLogger.Type logLevel)
OptionLogLevelsetLogLevel in interface OptionLogLevelpublic void setModuleNames(List<String> moduleNames)
OptionModuleNamesetModuleNames in interface OptionModuleNamepublic void setOutputLibraryPath(String outputLibraryPath)
OptionOutputLibraryPathsetOutputLibraryPath in interface OptionOutputLibraryPathpublic void setWorkDir(File workDir)
OptionWorkDirsetWorkDir in interface OptionWorkDirpublic boolean shouldLink()
OptionLinkshouldLink in interface OptionLinkCopyright © 2018. All rights reserved.