
protected static class DevModeBase.HostedModeBaseOptionsImpl extends PrecompileTaskOptionsImpl implements DevModeBase.HostedModeBaseOptions
OptionMethodNameDisplayMode.ModeOptionJsInteropMode.ModeOPTIMIZE_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.
|
List<String> |
getLibraryPaths()
Returns the list of paths to input libraries.
|
File |
getLogDir() |
File |
getLogFile(String sublog) |
TreeLogger.Type |
getLogLevel()
Returns the tree logger level.
|
List<String> |
getModuleNames()
Returns the list of module names.
|
String |
getOutputLibraryPath()
Returns the output library path.
|
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 |
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 |
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 |
setOutputLibraryPath(String outputLibraryPath)
Sets the output library path.
|
void |
setPort(int port) |
void |
setRemoteUIHost(String remoteUIHost) |
void |
setRemoteUIHostPort(int remoteUIHostPort) |
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.
|
boolean |
useRemoteUI() |
copyFrom, 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, warnOverlappingSourcegetOptimizationLevel, 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, setMethodNameDisplayModeaddModuleName, getModuleNames, setModuleNamesgetLogLevel, setLogLevelgetWorkDir, setWorkDirgetOutputLibraryPath, setOutputLibraryPathgetLibraryPaths, setLibraryPathsgetFinalProperties, setFinalPropertiesgetJsInteropMode, setJsInteropModesetLink, shouldLinkgetGenDir, setGenDirsetSaveSource, shouldSaveSourcegetSourceMapFilePrefix, setSourceMapFilePrefixisValidateOnly, setValidateOnlyisUpdateCheckDisabled, setDisableUpdateCheckisEnabledGeneratingOnShards, setEnabledGeneratingOnShardsgetMaxPermsPerPrecompile, setMaxPermsPerPrecompilegetMissingDepsFile, setMissingDepsFilesetWarnOverlappingSource, warnOverlappingSourcesetWarnMissingDeps, warnMissingDepspublic void addStartupURL(String url)
addStartupURL in interface DevModeBase.OptionStartupURLspublic boolean alsoLogToFile()
alsoLogToFile in interface DevModeBase.OptionLogDirpublic String getBindAddress()
getBindAddress in interface DevModeBase.OptionBindAddresspublic String getClientId()
getClientId in interface DevModeBase.OptionRemoteUIpublic int getCodeServerPort()
getCodeServerPort in interface DevModeBase.OptionCodeServerPortpublic String getConnectAddress()
getConnectAddress in interface DevModeBase.OptionBindAddresspublic File getLogDir()
getLogDir in interface DevModeBase.OptionLogDirpublic File getLogFile(String sublog)
getLogFile in interface DevModeBase.OptionLogDirpublic int getPort()
getPort in interface DevModeBase.OptionPortpublic String getRemoteUIHost()
getRemoteUIHost in interface DevModeBase.OptionRemoteUIpublic int getRemoteUIHostPort()
getRemoteUIHostPort in interface DevModeBase.OptionRemoteUIpublic List<String> getStartupURLs()
getStartupURLs in interface DevModeBase.OptionStartupURLspublic boolean isNoServer()
isNoServer in interface DevModeBase.OptionNoServerpublic void setBindAddress(String bindAddress)
setBindAddress in interface DevModeBase.OptionBindAddresspublic void setClientId(String clientId)
setClientId in interface DevModeBase.OptionRemoteUIpublic void setCodeServerPort(int port)
setCodeServerPort in interface DevModeBase.OptionCodeServerPortpublic void setConnectAddress(String connectAddress)
setConnectAddress in interface DevModeBase.OptionBindAddresspublic void setLogFile(String filename)
setLogFile in interface DevModeBase.OptionLogDirpublic void setNoServer(boolean isNoServer)
setNoServer in interface DevModeBase.OptionNoServerpublic void setPort(int port)
setPort in interface DevModeBase.OptionPortpublic void setRemoteUIHost(String remoteUIHost)
setRemoteUIHost in interface DevModeBase.OptionRemoteUIpublic void setRemoteUIHostPort(int remoteUIHostPort)
setRemoteUIHostPort in interface DevModeBase.OptionRemoteUIpublic boolean useRemoteUI()
useRemoteUI in interface DevModeBase.OptionRemoteUIpublic 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.