public interface ResolvedDependency
Modifier and Type | Method and Description |
---|---|
Set<ResolvedArtifact> |
getAllArtifacts(ResolvedDependency parent)
Returns the parent artifacts of this dependency and its children.
|
Set<ResolvedArtifact> |
getAllModuleArtifacts()
Returns the module artifacts belonging to this ResolvedDependency and recursively to its children.
|
Set<ResolvedArtifact> |
getArtifacts(ResolvedDependency parent)
Returns the parent artifacts of this dependency.
|
Set<ResolvedDependency> |
getChildren()
Returns the transitive ResolvedDependency instances of this resolved dependency.
|
String |
getConfiguration()
Returns the configuration under which this instance was resolved.
|
ResolvedModuleVersion |
getModule()
Returns the module which this resolved dependency belongs to.
|
Set<ResolvedArtifact> |
getModuleArtifacts()
Returns the module artifacts belonging to this ResolvedDependency.
|
String |
getModuleGroup()
Returns the module group of the resolved dependency.
|
String |
getModuleName()
Returns the module name of the resolved dependency.
|
String |
getModuleVersion()
Returns the module version of the resolved dependency.
|
String |
getName()
Returns the name of the resolved dependency.
|
Set<ResolvedArtifact> |
getParentArtifacts(ResolvedDependency parent)
Returns the artifacts belonging to this ResolvedDependency which it only has for a particular parent.
|
Set<ResolvedDependency> |
getParents()
Returns the ResolvedDependency instances that have this instance as a transitive dependency.
|
String getName()
String getModuleGroup()
String getModuleName()
String getModuleVersion()
String getConfiguration()
ResolvedModuleVersion getModule()
Set<ResolvedDependency> getChildren()
Set<ResolvedDependency> getParents()
Set<ResolvedArtifact> getModuleArtifacts()
Set<ResolvedArtifact> getAllModuleArtifacts()
getModuleArtifacts()
Set<ResolvedArtifact> getParentArtifacts(ResolvedDependency parent)
parent
- A parent of the ResolvedDependency. Must not be null.InvalidUserDataException
- If the parent is unknown or nullSet<ResolvedArtifact> getArtifacts(ResolvedDependency parent)
parent
- A parent of the ResolvedDependency. Must not be null.InvalidUserDataException
- If the parent is unknown or nullSet<ResolvedArtifact> getAllArtifacts(ResolvedDependency parent)
parent
- A parent of the ResolvedDependency. Must not be null.InvalidUserDataException
- If the parent is unknown or null