public class EndResolveDependencyEvent extends ResolveDependencyEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
EndResolveDependencyEvent(DependencyResolver resolver,
DependencyDescriptor dd,
ModuleRevisionId requestedRevisionId,
ResolvedModuleRevision module,
long duration) |
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Returns the time elapsed to resolve the dependency.
|
ResolvedModuleRevision |
getModule() |
getDependencyDescriptor, getResolver
addAttribute, addAttributes, addConfsAttribute, addMDAttributes, addModuleIdAttributes, addMridAttributes, equals, getAttributes, getName, getSource, hashCode, toString
public static final java.lang.String NAME
public EndResolveDependencyEvent(DependencyResolver resolver, DependencyDescriptor dd, ModuleRevisionId requestedRevisionId, ResolvedModuleRevision module, long duration)
public ResolvedModuleRevision getModule()
public long getDuration()
The time elapsed to resolve a dependency includes the time required to locate the the actual
revision if the dependency descriptor use a version constraint, and to download the module
metadata if necessary. It doesn't include any conflict management operations nor transitive
dependency management. It's basically the time elapsed since the corresponding
StartResolveDependencyEvent