protected static class DevMode.HostedModeOptionsImpl extends DevModeBase.HostedModeBaseOptionsImpl implements DevMode.HostedModeOptions
OptionMethodNameDisplayMode.Mode
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.
|
Properties |
getFinalProperties()
Returns the final properties.
|
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.
|
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 |
isClosureCompilerFormatEnabled() |
boolean |
isSuperDevMode() |
void |
setClosureCompilerFormatEnabled(boolean enabled) |
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 |
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 |
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.
|
addStartupURL, alsoLogToFile, getBindAddress, getClientId, getCodeServerPort, getConnectAddress, getLogDir, getLogFile, getPort, getRemoteUIHost, getRemoteUIHostPort, getStartupURLs, isNoServer, setBindAddress, setClientId, setCodeServerPort, setConnectAddress, setLogFile, setNoServer, setPort, setRemoteUIHost, setRemoteUIHostPort, useRemoteUI
copyFrom, copyFrom, getFragmentCount, getFragmentsMerge, getGenDir, getJsInteropExportFilter, getMethodNameDisplayMode, getNamespace, getOptimizationLevel, getOutput, getProperties, getSourceLevel, getSourceMapFilePrefix, isClassMetadataDisabled, isCompilerMetricsEnabled, isDraftCompile, isEnableAssertions, isEnabledGeneratingOnShards, isIncrementalCompileEnabled, isJsonSoycEnabled, isRunAsyncEnabled, isSoycEnabled, isSoycExtra, isSoycHtmlDisabled, isStrict, isUpdateCheckDisabled, isValidateOnly, setAddRuntimeChecks, setClassMetadataDisabled, setClusterSimilarFunctions, setCompilerMetricsEnabled, setDisableUpdateCheck, setEnableAssertions, setEnabledGeneratingOnShards, setFragmentCount, setFragmentsMerge, setGenDir, setGenerateJsInteropExports, setIncrementalCompileEnabled, setInlineLiteralParameters, setJsonSoycEnabled, setMethodNameDisplayMode, setNamespace, setOptimizationLevel, setOptimizeDataflow, setOrdinalizeEnums, setOutput, setPropertyValues, setRemoveDuplicateFunctions, setRunAsyncEnabled, setSaveSource, setSourceLevel, setSourceMapFilePrefix, setSoycEnabled, setSoycExtra, setSoycHtmlDisabled, setStrict, setUseDetailedTypeIds, setValidateOnly, shouldAddRuntimeChecks, shouldClusterSimilarFunctions, shouldGenerateJsInteropExports, shouldInlineLiteralParameters, shouldJDTInlineCompileTimeConstants, shouldOptimizeDataflow, shouldOrdinalizeEnums, shouldRemoveDuplicateFunctions, shouldSaveSource, useDetailedTypeIds
alsoLogToFile, getLogDir, getLogFile, setLogFile
isNoServer, setNoServer
getPort, setPort
getCodeServerPort, setCodeServerPort
addStartupURL, getStartupURLs
getClientId, getRemoteUIHost, getRemoteUIHostPort, setClientId, setRemoteUIHost, setRemoteUIHostPort, useRemoteUI
getBindAddress, getConnectAddress, setBindAddress, setConnectAddress
getOptimizationLevel, setOptimizationLevel
setClusterSimilarFunctions, shouldClusterSimilarFunctions
isIncrementalCompileEnabled, setIncrementalCompileEnabled
isClassMetadataDisabled, setClassMetadataDisabled
isEnableAssertions, setEnableAssertions
setInlineLiteralParameters, shouldInlineLiteralParameters
setOptimizeDataflow, shouldOptimizeDataflow
isRunAsyncEnabled, setRunAsyncEnabled
getOutput, setOutput
isSoycEnabled, setSoycEnabled
isSoycExtra, setSoycExtra
isJsonSoycEnabled, setJsonSoycEnabled
setOrdinalizeEnums, shouldOrdinalizeEnums
setRemoveDuplicateFunctions, shouldRemoveDuplicateFunctions
isStrict, setStrict
isSoycHtmlDisabled, setSoycHtmlDisabled
isCompilerMetricsEnabled, setCompilerMetricsEnabled
getFragmentsMerge, setFragmentsMerge
getFragmentCount, setFragmentCount
getSourceLevel, setSourceLevel
getNamespace, setNamespace
setAddRuntimeChecks, shouldAddRuntimeChecks
getJsInteropExportFilter, setGenerateJsInteropExports, shouldGenerateJsInteropExports
setUseDetailedTypeIds, useDetailedTypeIds
shouldJDTInlineCompileTimeConstants
getMethodNameDisplayMode, setMethodNameDisplayMode
getGenDir, setGenDir
setSaveSource, shouldSaveSource
getSourceMapFilePrefix, setSourceMapFilePrefix
isValidateOnly, setValidateOnly
isUpdateCheckDisabled, setDisableUpdateCheck
isEnabledGeneratingOnShards, setEnabledGeneratingOnShards
getProperties, setPropertyValues
addModuleName, getModuleNames, setModuleNames
getLogLevel, setLogLevel
getWorkDir, setWorkDir
getFinalProperties, setFinalProperties
public File getDeployDir()
OptionDeployDir
getDeployDir
in interface OptionDeployDir
public File getExtraDir()
OptionExtraDir
getExtraDir
in interface OptionExtraDir
public int getLocalWorkers()
OptionLocalWorkers
getLocalWorkers
in interface OptionLocalWorkers
public File getSaveSourceOutput()
OptionSaveSourceOutput
getSaveSourceOutput
in interface OptionSaveSourceOutput
public ServletContainerLauncher getServletContainerLauncher()
getServletContainerLauncher
in interface DevMode.HostedModeOptions
public File getModuleBaseDir()
OptionModulePathPrefix
getModuleBaseDir
in interface OptionModulePathPrefix
public String getServletContainerLauncherArgs()
getServletContainerLauncherArgs
in interface DevMode.HostedModeOptions
public File getWarDir()
OptionWarDir
getWarDir
in interface OptionWarDir
public boolean isSuperDevMode()
isSuperDevMode
in interface DevMode.OptionSuperDevMode
public void setDeployDir(File deployDir)
OptionDeployDir
setDeployDir
in interface OptionDeployDir
public void setExtraDir(File extraDir)
OptionExtraDir
setExtraDir
in interface OptionExtraDir
public void setLocalWorkers(int localWorkers)
OptionLocalWorkers
setLocalWorkers
in interface OptionLocalWorkers
public void setModulePathPrefix(String prefix)
OptionModulePathPrefix
setModulePathPrefix
in interface OptionModulePathPrefix
@Deprecated public void setOutDir(File outDir)
public void setSaveSourceOutput(File debugDir)
OptionSaveSourceOutput
setSaveSourceOutput
in interface OptionSaveSourceOutput
public void setSuperDevMode(boolean sdm)
setSuperDevMode
in interface DevMode.OptionSuperDevMode
public void setServletContainerLauncher(ServletContainerLauncher scl)
setServletContainerLauncher
in interface DevMode.HostedModeOptions
public void setServletContainerLauncherArgs(String args)
setServletContainerLauncherArgs
in interface DevMode.HostedModeOptions
public void setWarDir(File warDir)
OptionWarDir
setWarDir
in interface OptionWarDir
public boolean isClosureCompilerFormatEnabled()
isClosureCompilerFormatEnabled
in interface OptionClosureFormattedOutput
isClosureCompilerFormatEnabled
in class PrecompileTaskOptionsImpl
public void setClosureCompilerFormatEnabled(boolean enabled)
setClosureCompilerFormatEnabled
in interface OptionClosureFormattedOutput
setClosureCompilerFormatEnabled
in class PrecompileTaskOptionsImpl
public void addModuleName(String moduleName)
OptionModuleName
addModuleName
in interface OptionModuleName
public void copyFrom(CompileTaskOptions other)
public Properties getFinalProperties()
OptionFinalProperties
getFinalProperties
in interface OptionFinalProperties
public TreeLogger.Type getLogLevel()
OptionLogLevel
getLogLevel
in interface OptionLogLevel
public List<String> getModuleNames()
OptionModuleName
getModuleNames
in interface OptionModuleName
public File getWorkDir()
OptionWorkDir
getWorkDir
in interface OptionWorkDir
public void setFinalProperties(Properties finalProperties)
OptionFinalProperties
setFinalProperties
in interface OptionFinalProperties
public void setLogLevel(TreeLogger.Type logLevel)
OptionLogLevel
setLogLevel
in interface OptionLogLevel
public void setModuleNames(List<String> moduleNames)
OptionModuleName
setModuleNames
in interface OptionModuleName
public void setWorkDir(File workDir)
OptionWorkDir
setWorkDir
in interface OptionWorkDir
Copyright © 2018. All rights reserved.