protected static class DevModeBase.HostedModeBaseOptionsImpl extends PrecompileTaskOptionsImpl implements DevModeBase.HostedModeBaseOptions
OptionMethodNameDisplayMode.Mode
OPTIMIZE_LEVEL_DEFAULT, OPTIMIZE_LEVEL_DRAFT, OPTIMIZE_LEVEL_MAX
Modifier | Constructor and Description |
---|---|
protected |
HostedModeBaseOptionsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addModuleName(String moduleName)
Sets the name of the module.
|
void |
addStartupURL(String url) |
boolean |
alsoLogToFile() |
void |
copyFrom(CompileTaskOptions other) |
String |
getBindAddress() |
String |
getClientId() |
int |
getCodeServerPort() |
File |
getCompilerWorkDir(String moduleName) |
String |
getConnectAddress() |
Properties |
getFinalProperties()
Returns the final properties.
|
File |
getLogDir() |
File |
getLogFile(String sublog) |
TreeLogger.Type |
getLogLevel()
Returns the tree logger level.
|
List<String> |
getModuleNames()
Returns the list of module names.
|
int |
getPort() |
String |
getRemoteUIHost() |
int |
getRemoteUIHostPort() |
List<String> |
getStartupURLs() |
File |
getWorkDir()
Returns the compiler work directory.
|
boolean |
isNoServer() |
void |
setBindAddress(String bindAddress) |
void |
setClientId(String clientId) |
void |
setCodeServerPort(int port) |
void |
setConnectAddress(String connectAddress) |
void |
setFinalProperties(Properties finalProperties)
Sets the list of paths to input libraries.
|
void |
setLogFile(String filename) |
void |
setLogLevel(TreeLogger.Type logLevel)
Sets the tree logger level.
|
void |
setModuleNames(List<String> moduleNames)
Sets the list of module names.
|
void |
setNoServer(boolean isNoServer) |
void |
setPort(int port) |
void |
setRemoteUIHost(String remoteUIHost) |
void |
setRemoteUIHostPort(int remoteUIHostPort) |
void |
setWorkDir(File workDir)
Sets the compiler work directory.
|
boolean |
useRemoteUI() |
copyFrom, copyFrom, getFragmentCount, getFragmentsMerge, getGenDir, getJsInteropExportFilter, getMethodNameDisplayMode, getNamespace, getOptimizationLevel, getOutput, getProperties, getSourceLevel, getSourceMapFilePrefix, isClassMetadataDisabled, isClosureCompilerFormatEnabled, isCompilerMetricsEnabled, isDraftCompile, isEnableAssertions, isEnabledGeneratingOnShards, isIncrementalCompileEnabled, isJsonSoycEnabled, isRunAsyncEnabled, isSoycEnabled, isSoycExtra, isSoycHtmlDisabled, isStrict, isUpdateCheckDisabled, isValidateOnly, setAddRuntimeChecks, setClassMetadataDisabled, setClosureCompilerFormatEnabled, 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
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
isClosureCompilerFormatEnabled, setClosureCompilerFormatEnabled
addModuleName, getModuleNames, setModuleNames
getLogLevel, setLogLevel
getWorkDir, setWorkDir
getFinalProperties, setFinalProperties
getGenDir, setGenDir
setSaveSource, shouldSaveSource
getSourceMapFilePrefix, setSourceMapFilePrefix
isValidateOnly, setValidateOnly
isUpdateCheckDisabled, setDisableUpdateCheck
isEnabledGeneratingOnShards, setEnabledGeneratingOnShards
getProperties, setPropertyValues
public void addStartupURL(String url)
addStartupURL
in interface DevModeBase.OptionStartupURLs
public boolean alsoLogToFile()
alsoLogToFile
in interface DevModeBase.OptionLogDir
public String getBindAddress()
getBindAddress
in interface OptionBindAddress
public String getClientId()
getClientId
in interface DevModeBase.OptionRemoteUI
public int getCodeServerPort()
getCodeServerPort
in interface DevModeBase.OptionCodeServerPort
public String getConnectAddress()
getConnectAddress
in interface OptionBindAddress
public File getLogDir()
getLogDir
in interface DevModeBase.OptionLogDir
public File getLogFile(String sublog)
getLogFile
in interface DevModeBase.OptionLogDir
public int getPort()
getPort
in interface DevModeBase.OptionPort
public String getRemoteUIHost()
getRemoteUIHost
in interface DevModeBase.OptionRemoteUI
public int getRemoteUIHostPort()
getRemoteUIHostPort
in interface DevModeBase.OptionRemoteUI
public List<String> getStartupURLs()
getStartupURLs
in interface DevModeBase.OptionStartupURLs
public boolean isNoServer()
isNoServer
in interface DevModeBase.OptionNoServer
public void setBindAddress(String bindAddress)
setBindAddress
in interface OptionBindAddress
public void setClientId(String clientId)
setClientId
in interface DevModeBase.OptionRemoteUI
public void setCodeServerPort(int port)
setCodeServerPort
in interface DevModeBase.OptionCodeServerPort
public void setConnectAddress(String connectAddress)
setConnectAddress
in interface OptionBindAddress
public void setLogFile(String filename)
setLogFile
in interface DevModeBase.OptionLogDir
public void setNoServer(boolean isNoServer)
setNoServer
in interface DevModeBase.OptionNoServer
public void setPort(int port)
setPort
in interface DevModeBase.OptionPort
public void setRemoteUIHost(String remoteUIHost)
setRemoteUIHost
in interface DevModeBase.OptionRemoteUI
public void setRemoteUIHostPort(int remoteUIHostPort)
setRemoteUIHostPort
in interface DevModeBase.OptionRemoteUI
public boolean useRemoteUI()
useRemoteUI
in interface DevModeBase.OptionRemoteUI
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.