|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.plovr.Config
public final class Config
Nested Class Summary | |
---|---|
static class |
Config.Builder
|
Field Summary | |
---|---|
static java.lang.String |
GLOBAL_SCOPE_NAME
This is the name of the scope that all global variables will be put into if the global-scope-name argument is supplied in the plovr config. |
Method Summary | |
---|---|
static Config.Builder |
builder(Config config)
|
static Config.Builder |
builder(java.io.File relativePathBase,
java.io.File configFile,
java.lang.String rootConfigFileContent)
|
static Config.Builder |
builderForTesting()
Create a builder that can be used for testing. |
int |
compareTo(Config otherConfig)
Configs are compared by their id so they can be sorted alphabetically. |
java.util.List<java.lang.String> |
getAllowedNonStandardCssFunctions()
|
java.util.List<java.lang.String> |
getAllowedUnrecognizedProperties()
|
CompilationMode |
getCompilationMode()
|
PlovrCompilerOptions |
getCompilerOptions(PlovrClosureCompiler compiler)
|
java.io.File |
getConfigFile()
Gets the file that was loaded by plovr to create this config. |
java.util.Set<java.lang.String> |
getCssDefines()
|
java.util.List<java.io.File> |
getCssInputs()
|
java.io.File |
getCssOutputFile()
|
java.io.File |
getDocumentationOutputDirectory()
|
java.lang.String |
getGlobalScopeName()
|
java.lang.String |
getGssFunctionMapProviderClassName()
|
java.lang.String |
getId()
|
java.lang.String |
getJsContentType()
The value of the Content-Type header to use when writing JavaScript content in response to an HTTP request. |
Manifest |
getManifest()
|
ModuleConfig |
getModuleConfig()
|
java.nio.charset.Charset |
getOutputCharset()
|
java.io.File |
getOutputFile()
|
java.lang.String |
getOutputWrapper()
|
java.lang.String |
getOutputWrapperMarker()
|
java.io.File |
getPropertyMapInputFile()
|
java.io.File |
getPropertyMapOutputFile()
|
java.lang.String |
getRootConfigFileContent()
|
ImmutableList<java.lang.String> |
getSoyFunctionPlugins()
|
java.util.Set<java.io.File> |
getTestExcludePaths()
|
java.io.File |
getTestFile(java.lang.String path)
|
java.io.File |
getTestTemplate()
|
boolean |
getTreatWarningsAsErrors()
|
java.io.File |
getVariableMapInputFile()
|
java.io.File |
getVariableMapOutputFile()
|
com.google.javascript.jscomp.WarningLevel |
getWarningLevel()
|
java.util.List<WebDriverFactory> |
getWebDriverFactories()
|
boolean |
hasModules()
|
boolean |
hasSoyFunctionPlugins()
|
boolean |
isOutOfDate()
|
boolean |
shouldFingerprintJsFiles()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String GLOBAL_SCOPE_NAME
Method Detail |
---|
public static Config.Builder builder(java.io.File relativePathBase, java.io.File configFile, java.lang.String rootConfigFileContent)
public static Config.Builder builder(Config config)
public static Config.Builder builderForTesting()
public java.lang.String getId()
public java.lang.String getRootConfigFileContent()
public Manifest getManifest()
public ModuleConfig getModuleConfig()
public boolean hasModules()
public ImmutableList<java.lang.String> getSoyFunctionPlugins()
public boolean hasSoyFunctionPlugins()
public CompilationMode getCompilationMode()
public com.google.javascript.jscomp.WarningLevel getWarningLevel()
public java.io.File getOutputFile()
public java.lang.String getOutputWrapper()
public java.nio.charset.Charset getOutputCharset()
public java.lang.String getJsContentType()
public java.lang.String getOutputWrapperMarker()
public boolean shouldFingerprintJsFiles()
public boolean getTreatWarningsAsErrors()
public java.io.File getDocumentationOutputDirectory()
public java.io.File getConfigFile()
public boolean isOutOfDate()
public java.lang.String getGlobalScopeName()
public java.io.File getVariableMapInputFile()
public java.io.File getVariableMapOutputFile()
public java.io.File getPropertyMapInputFile()
public java.io.File getPropertyMapOutputFile()
public java.io.File getTestTemplate()
public java.util.Set<java.io.File> getTestExcludePaths()
public java.util.List<java.io.File> getCssInputs()
public java.util.Set<java.lang.String> getCssDefines()
public java.util.List<java.lang.String> getAllowedUnrecognizedProperties()
public java.util.List<java.lang.String> getAllowedNonStandardCssFunctions()
public java.lang.String getGssFunctionMapProviderClassName()
public java.io.File getCssOutputFile()
public java.util.List<WebDriverFactory> getWebDriverFactories()
@Nullable public java.io.File getTestFile(java.lang.String path)
path
- a relative path, such as "foo/bar_test.js" or
"foo/bar_test.html".
public PlovrCompilerOptions getCompilerOptions(PlovrClosureCompiler compiler)
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(Config otherConfig)
compareTo
in interface java.lang.Comparable<Config>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |