|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Incubating public interface DependencyResolveDetails
Provides details about a dependency when it is resolved. Provides means to manipulate dependency metadata when it is resolved.
| Method Summary | |
|---|---|
ModuleVersionSelector |
getRequested()
The module, before it is resolved. |
ModuleVersionSelector |
getTarget()
The target module selector used to resolve the dependency. |
void |
useVersion(String version)
Allows to override the version when the dependency getRequested() is resolved. |
| Method Detail |
|---|
ModuleVersionSelector getRequested()
void useVersion(String version)
getRequested() is resolved.
Can be used to select a version that is different than requested.
Forcing modules via ResolutionStrategy.force(Object...) uses this capability.
Configuring a version different than requested will cause getTarget() method
return a target module with updated target version.
It is valid to configure the same version as requested.
version - to use when resolving this dependency, cannot be nullModuleVersionSelector getTarget()
useVersion(String) are used.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||