|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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 | |
---|---|
void |
setDependencyPruning(boolean enabled)
Enables or disables dependency pruning mode. |
void |
setDependencySorting(boolean enabled)
Enables or disables dependency sorting mode. |
void |
setEntryPoints(Collection<String> symbols)
Adds a collection of symbols to always keep. |
void |
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 void setDependencySorting(boolean enabled)
public void setDependencyPruning(boolean enabled)
public void 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 |