org.apache.ivy.core.event.resolve
public class EndResolveDependencyEvent extends ResolveDependencyEvent
Field Summary | |
---|---|
static String | NAME |
Constructor Summary | |
---|---|
EndResolveDependencyEvent(DependencyResolver resolver, DependencyDescriptor dd, ModuleRevisionId requestedRevisionId, ResolvedModuleRevision module, long duration) |
Method Summary | |
---|---|
long | getDuration()
Returns the time elapsed to resolve the dependency.
|
ResolvedModuleRevision | getModule() |
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
Returns: the time elapsed to resolve the dependency.