org.apache.ivy.plugins.resolver.util
Class ResolvedModuleRevisionProxy

java.lang.Object
  extended by org.apache.ivy.plugins.resolver.util.ResolvedModuleRevisionProxy
All Implemented Interfaces:
ResolvedModuleRevision

public final class ResolvedModuleRevisionProxy
extends java.lang.Object
implements ResolvedModuleRevision

the same ResolvedModuleRevision except that we say that it is another resolver the artifact resolver, so that it's it that is used for artifact download ==> forward all except getArtifactResolver method


Constructor Summary
ResolvedModuleRevisionProxy(ResolvedModuleRevision mr, DependencyResolver artresolver)
           
 
Method Summary
 DependencyResolver getArtifactResolver()
          The resolver to use to download artifacts
 ModuleDescriptor getDescriptor()
           
 ModuleRevisionId getId()
           
 java.net.URL getLocalMDUrl()
           
 java.util.Date getPublicationDate()
           
 DependencyResolver getResolver()
          The resolver which resolved this ResolvedModuleRevision
 boolean isDownloaded()
           
 boolean isSearched()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResolvedModuleRevisionProxy

public ResolvedModuleRevisionProxy(ResolvedModuleRevision mr,
                                   DependencyResolver artresolver)
Method Detail

getResolver

public DependencyResolver getResolver()
Description copied from interface: ResolvedModuleRevision
The resolver which resolved this ResolvedModuleRevision

Specified by:
getResolver in interface ResolvedModuleRevision
Returns:
The resolver which resolved this ResolvedModuleRevision

getArtifactResolver

public DependencyResolver getArtifactResolver()
Description copied from interface: ResolvedModuleRevision
The resolver to use to download artifacts

Specified by:
getArtifactResolver in interface ResolvedModuleRevision
Returns:
The resolver to use to download artifacts

getId

public ModuleRevisionId getId()
Specified by:
getId in interface ResolvedModuleRevision

getPublicationDate

public java.util.Date getPublicationDate()
Specified by:
getPublicationDate in interface ResolvedModuleRevision

getDescriptor

public ModuleDescriptor getDescriptor()
Specified by:
getDescriptor in interface ResolvedModuleRevision

isDownloaded

public boolean isDownloaded()
Specified by:
isDownloaded in interface ResolvedModuleRevision

isSearched

public boolean isSearched()
Specified by:
isSearched in interface ResolvedModuleRevision

getLocalMDUrl

public java.net.URL getLocalMDUrl()
Specified by:
getLocalMDUrl in interface ResolvedModuleRevision