org.plovr
Class Manifest
java.lang.Object
org.plovr.Manifest
public final class Manifest
- extends Object
Manifest
represents an ordered list of JavaScript inputs to the
Closure Compiler, along with a set of externs. This list is derived from the
transitive closure of the dependencies from a set of input files.
- Author:
- bolinfest@gmail.com (Michael Bolin)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDependencies
public Set<File> getDependencies()
- Returns:
- the set of files (or directories) that contain JS inputs that
may be included in the compilation
getRequiredInputs
public List<JsInput> getRequiredInputs()
- Returns:
- a list of files (or directories) that contain JS inputs that
must be included in the compilation
getCompilerArguments
public Compilation getCompilerArguments(@Nullable
ModuleConfig moduleConfig)
throws CompilationException
- Parameters:
moduleConfig
-
- Returns:
- a new
Compilation
that reflects the configuration for
this Manifest
.
- Throws:
CompilationException
getInputsInCompilationOrder
public List<JsInput> getInputsInCompilationOrder()
throws CompilationException
- Throws:
CompilationException