java.lang.Object |
↳ |
com.google.javascript.jscomp.CommandLineRunner |
|
↳ |
com.microstrategy.web.app.utils.ClosureCompilerRunner |
Class Overview
Class that wraps the Closure compiler. All configuration is done via args parameter that
is structured as an array of strings [similar to command line args].
Summary
Public Methods |
int
|
execute()
|
static
int
|
runClosureCompiler(String[] args)
static method that creates a ClosureCompilerRunner and invokes the compiler.
|
[Expand]
Inherited Methods |
From class
com.google.javascript.jscomp.CommandLineRunner
Compiler
|
createCompiler()
|
List<JSSourceFile>
|
createExterns()
|
CompilerOptions
|
createOptions()
|
int
|
doRun()
|
AbstractCommandLineRunner.CommandLineConfig
|
getCommandLineConfig()
|
final
A extends Compiler
|
getCompiler()
|
static
List<JSSourceFile>
|
getDefaultExterns()
|
DiagnosticGroups
|
getDiagnosticGroups()
|
PrintStream
|
getErrorPrintStream()
|
void
|
initOptionsFromFlags(CompilerOptions arg0)
|
static
void
|
main(String[] arg0)
|
final
void
|
run()
|
final
void
|
setRunOptions(B extends CompilerOptions arg0)
|
boolean
|
shouldRunCompiler()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods
public
static
int
runClosureCompiler
(String[] args)
static method that creates a ClosureCompilerRunner and invokes the compiler. This helper
is necessary to catch the CmdLineExceptions that may be thrown by the constructor.@return