|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
@Incubating public interface ResolvedComponentResult
Represents a component instance in the resolved dependency graph. Provides some basic identity and dependency information about the component.
Method Summary | |
---|---|
Set
|
getDependencies()
|
Set
|
getDependents()
Returns the incoming dependencies of this component. |
ComponentIdentifier
|
getId()
|
ModuleVersionIdentifier
|
getModuleVersion()
Returns the module version which this component belongs to, if any. |
ComponentSelectionReason
|
getSelectionReason()
Returns the reason why this particular component was selected in the result. |
Method Detail |
---|
public Set getDependencies()
Returns the dependencies of this component. Includes resolved and unresolved dependencies (if any).
The elements of the returned collection are declared as DependencyResult, however the dependency instances will also implement one of the following instances:
public Set getDependents()
public ComponentIdentifier getId()
Returns the identifier of this component. This can be used to uniquely identify the component within the current build, but it is not necessarily unique between different builds.
The return type is declared as an opaque ComponentIdentifier, however the identifier may also implement one of the following interfaces:
@Nullable public ModuleVersionIdentifier getModuleVersion()
public ComponentSelectionReason getSelectionReason()
Gradle API 1.12