public class ClosureConfig extends Object
| Constructor and Description |
|---|
ClosureConfig(MinifyMojo mojo)
Create a new closure compiler configuration from the mojo configuration.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.javascript.jscomp.CompilationLevel |
getCompilationLevel() |
com.google.javascript.jscomp.CompilerOptions |
getCompilerOptions(File minifiedFile,
File sourceMapFile,
File baseDirForSourceFiles,
File sourceDir) |
com.google.javascript.jscomp.CompilerOptions.Environment |
getEnvironment() |
List<com.google.javascript.jscomp.SourceFile> |
getExterns() |
com.google.javascript.jscomp.CompilerOptions.LanguageMode |
getLanguageOut() |
OutputInterpolator |
getOutputInterpolator() |
FilenameInterpolator |
getSourceMapInterpolator() |
SourceMapOutputType |
getSourceMapOutputType() |
boolean |
isCreateSourceMap() |
boolean |
isCreateSourceMapFile() |
public ClosureConfig(MinifyMojo mojo) throws org.apache.maven.plugin.MojoFailureException
mojo - Mojo with the options.org.apache.maven.plugin.MojoFailureException - When the configuration is invalid or cannot be parsed.public com.google.javascript.jscomp.CompilationLevel getCompilationLevel()
public com.google.javascript.jscomp.CompilerOptions getCompilerOptions(File minifiedFile, File sourceMapFile, File baseDirForSourceFiles, File sourceDir) throws org.apache.maven.plugin.MojoFailureException, IOException
org.apache.maven.plugin.MojoFailureExceptionIOExceptionpublic com.google.javascript.jscomp.CompilerOptions.Environment getEnvironment()
public List<com.google.javascript.jscomp.SourceFile> getExterns()
public com.google.javascript.jscomp.CompilerOptions.LanguageMode getLanguageOut()
public OutputInterpolator getOutputInterpolator()
public FilenameInterpolator getSourceMapInterpolator()
public SourceMapOutputType getSourceMapOutputType()
public boolean isCreateSourceMap()
public boolean isCreateSourceMapFile()
Copyright © 2009–2018 Andre Wachsmuth. All rights reserved.