|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.javascript.jscomp.deps.SimpleDependencyInfo
public class SimpleDependencyInfo
A class to hold JS dependency information for a single .js file.
| Constructor Summary | |
|---|---|
SimpleDependencyInfo(String srcPathRelativeToClosure,
String pathOfDefiningFile,
List<String> provides,
List<String> requires)
Constructs a DependencyInfo object with the given list of provides & requires. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getName()
Gets the unique name / path of this file. |
String |
getPathRelativeToClosureBase()
Gets the path of this file relative to Closure's base.js file. |
Collection<String> |
getProvides()
Gets the symbols provided by this file. |
Collection<String> |
getRequires()
Gets the symbols required by this file. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleDependencyInfo(String srcPathRelativeToClosure,
String pathOfDefiningFile,
List<String> provides,
List<String> requires)
srcPathRelativeToClosure - The closure-relative path of the file
associated with this DependencyInfo.pathOfDefiningFile - The path to the file from which this dependency
information was extracted.provides - List of provided symbols.requires - List of required symbols.| Method Detail |
|---|
public String getName()
DependencyInfo
getName in interface DependencyInfopublic String getPathRelativeToClosureBase()
DependencyInfo
getPathRelativeToClosureBase in interface DependencyInfopublic Collection<String> getProvides()
DependencyInfo
getProvides in interface DependencyInfopublic Collection<String> getRequires()
DependencyInfo
getRequires in interface DependencyInfopublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||