public class EndResolveDependencyEvent extends ResolveDependencyEvent
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
NAME |
Constructor | Description |
---|---|
EndResolveDependencyEvent(DependencyResolver resolver,
DependencyDescriptor dd,
ModuleRevisionId requestedRevisionId,
ResolvedModuleRevision module,
long duration) |
Modifier and Type | Method | Description |
---|---|---|
long |
getDuration() |
Returns the time elapsed to resolve the dependency.
|
ResolvedModuleRevision |
getModule() |
addAttribute, addAttributes, addConfsAttribute, addMDAttributes, addModuleIdAttributes, addMridAttributes, equals, getAttributes, getName, getSource, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDependencyDescriptor, getResolver
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