Class SpincastJsClosureCompilerCommandLineRunner

java.lang.Object
com.google.javascript.jscomp.AbstractCommandLineRunner<com.google.javascript.jscomp.Compiler,com.google.javascript.jscomp.CompilerOptions>
com.google.javascript.jscomp.CommandLineRunner
org.spincast.plugins.jsclosurecompiler.SpincastJsClosureCompilerCommandLineRunner

public class SpincastJsClosureCompilerCommandLineRunner extends com.google.javascript.jscomp.CommandLineRunner
Extending CommandLineRunner allows us to declare a public constructor and set an "Exit Code Receiver" that never call System.exit().
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.javascript.jscomp.CommandLineRunner

    com.google.javascript.jscomp.CommandLineRunner.FormattingOption

    Nested classes/interfaces inherited from class com.google.javascript.jscomp.AbstractCommandLineRunner

    com.google.javascript.jscomp.AbstractCommandLineRunner.CommandLineConfig, com.google.javascript.jscomp.AbstractCommandLineRunner.FlagEntry<T extends Object>, com.google.javascript.jscomp.AbstractCommandLineRunner.JsChunkSpec, com.google.javascript.jscomp.AbstractCommandLineRunner.JsonFileSpec, com.google.javascript.jscomp.AbstractCommandLineRunner.JsSourceType
  • Field Summary

    Fields inherited from class com.google.javascript.jscomp.CommandLineRunner

    OUTPUT_MARKER, UTF8_BOM_CODE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class com.google.javascript.jscomp.CommandLineRunner

    addAllowlistWarningsGuard, appendRuntimeTo, checkModuleName, createCompiler, createExterns, createOptions, findJsFiles, getDefaultExterns, getVersionText, hasErrors, main, prepForBundleAndAppendTo, shouldRunCompiler

    Methods inherited from class com.google.javascript.jscomp.AbstractCommandLineRunner

    createDefineReplacements, createInputs, createJsModules, doRun, filenameToOutputStream, getBuiltinExterns, getCommandLineConfig, getCompileMetricsRecorder, getCompiler, getDiagnosticGroups, getErrorPrintStream, isInTestMode, parseJsonFilesFromInputStream, parseModuleWrappers, run, setExitCodeReceiver, setRunOptions, setWarningGuardOptions, shouldGenerateMapPerModule

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpincastJsClosureCompilerCommandLineRunner

      public SpincastJsClosureCompilerCommandLineRunner(String[] args)