Class EndResolveDependencyEvent
java.lang.Object
org.apache.ivy.core.event.IvyEvent
org.apache.ivy.core.event.resolve.ResolveDependencyEvent
org.apache.ivy.core.event.resolve.EndResolveDependencyEvent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEndResolveDependencyEvent(DependencyResolver resolver, DependencyDescriptor dd, ModuleRevisionId requestedRevisionId, ResolvedModuleRevision module, long duration) -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the time elapsed to resolve the dependency.Methods inherited from class ResolveDependencyEvent
getDependencyDescriptor, getResolverMethods inherited from class IvyEvent
addAttribute, addAttributes, addConfsAttribute, addMDAttributes, addModuleIdAttributes, addMridAttributes, equals, getAttributes, getName, getSource, hashCode, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
EndResolveDependencyEvent
public EndResolveDependencyEvent(DependencyResolver resolver, DependencyDescriptor dd, ModuleRevisionId requestedRevisionId, ResolvedModuleRevision module, long duration)
-
-
Method Details
-
getModule
-
getDuration
public long getDuration()Returns the time elapsed to resolve the dependency.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.
-