org.gradle.api.artifacts.result
Interface ResolvedModuleVersionResult


@Incubating
public interface ResolvedModuleVersionResult

A node in the resolved dependency graph. Contains the identifier of the module and its dependencies.


Method Summary
 Set<? extends DependencyResult> getDependencies()
          Returns the dependencies of the resolved module.
 Set<? extends ResolvedDependencyResult> getDependents()
          Returns the dependents of the resolved module.
 ModuleVersionIdentifier getId()
          Returns the identifier of the resolved module.
 ModuleVersionSelectionReason getSelectionReason()
          Returns the reason for selecting the module.
 

Method Detail

getId

ModuleVersionIdentifier getId()
Returns the identifier of the resolved module.

Returns:
the identifier of the resolved module

getDependencies

Set<? extends DependencyResult> getDependencies()
Returns the dependencies of the resolved module. Includes resolved and unresolved dependencies (if any).

Returns:
the dependencies of the resolved module

getDependents

Set<? extends ResolvedDependencyResult> getDependents()
Returns the dependents of the resolved module.

Returns:
the dependents of the resolved module

getSelectionReason

ModuleVersionSelectionReason getSelectionReason()
Returns the reason for selecting the module. Useful if multiple candidate versions were found during dependency resolution.

Returns:
the reason for selecting the module