|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.javascript.jscomp.DependencyOptions
public class DependencyOptions
Options for how to manage dependencies between input files.
Dependency information is usually pulled out from the JS code by
looking for primitive dependency functions (like Closure Library's
goog.provide/goog.require). Analysis of this dependency information is
controlled by CodingConvention
, which lets you define those
dependency primitives.
This options class determines how we use that dependency information
to change how code is built.
Constructor Summary | |
---|---|
DependencyOptions()
|
Method Summary | |
---|---|
DependencyOptions |
setDependencyPruning(boolean enabled)
Enables or disables dependency pruning mode. |
DependencyOptions |
setDependencySorting(boolean enabled)
Enables or disables dependency sorting mode. |
void |
setEntryPoints(Collection<String> symbols)
Adds a collection of symbols to always keep. |
DependencyOptions |
setMoocherDropping(boolean enabled)
Enables or disables moocher dropping mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyOptions()
Method Detail |
---|
public DependencyOptions setDependencySorting(boolean enabled)
public DependencyOptions setDependencyPruning(boolean enabled)
public DependencyOptions setMoocherDropping(boolean enabled)
public void setEntryPoints(Collection<String> symbols)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |