public class DependencyInfo extends Object
| Constructor and Description |
|---|
DependencyInfo(String dependency) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependency(DependencyInfo parent,
String version,
String dependencyKey)
Associates this dependency as a transient dependency of the parent
|
DependencyCheck |
dependencyCheck() |
String |
getDependency() |
String |
getVersion() |
Map<String,List<DependencyLink>> |
getVersions() |
void |
setVersion(String version) |
String |
toString() |
public DependencyInfo(String dependency)
public DependencyCheck dependencyCheck()
public String getDependency()
public Map<String,List<DependencyLink>> getVersions()
public String getVersion()
public void setVersion(String version)
public void addDependency(DependencyInfo parent, String version, String dependencyKey)
parent - the parent who is dependent on this packageversion - the version of this package the parent depends ondependencyKey - the kind of dependency key as per NpmDependencyKindsCopyright © 2076–2017 Red Hat. All rights reserved.