org.apache.ivy.core.resolve
public class ResolveData extends Object
Constructor Summary | |
---|---|
ResolveData(ResolveData data, boolean validate) | |
ResolveData(ResolveEngine engine, ResolveOptions options) | |
ResolveData(ResolveEngine engine, ResolveOptions options, ConfigurationResolveReport report) | |
ResolveData(ResolveEngine engine, ResolveOptions options, ConfigurationResolveReport report, Map visitData) |
It can be null
.
Returns: the last ResolvedModuleRevision which has been currently resolved.
null
if there is no node currently
visited in this context.
Returns: the VisitNode currently visited
This can be used especially in dependency resolvers, to know if another dependency resolver has already resolved the requested dependency, to take a decision if the resolver should try to resolve it by itself or not. Indeed, the dependency resolver is responsible for taking this decision, even when included in a chain. The chain responsibility is only to set this current resolved module revision to enable the resolver to take the decision.
Parameters: mr the last ResolvedModuleRevision which has been currently resolved.