Class ResolvedModuleRevision

java.lang.Object
org.apache.ivy.core.resolve.ResolvedModuleRevision

public class ResolvedModuleRevision extends Object
Represents a module revision provisioned on the local filesystem.
  • Constructor Details

  • Method Details

    • getId

      public ModuleRevisionId getId()
      Returns the identifier of the resolved module.
      Returns:
      the identifier of the resolved module.
    • getPublicationDate

      public Date getPublicationDate()
      Returns the date of publication of the resolved module.
      Returns:
      the date of publication of the resolved module.
    • getDescriptor

      public ModuleDescriptor getDescriptor()
      Returns the descriptor of the resolved module.
      Returns:
      the descriptor of the resolved module.
    • getResolver

      public DependencyResolver getResolver()
      The resolver which resolved this ResolvedModuleRevision
      Returns:
      The resolver which resolved this ResolvedModuleRevision
    • getArtifactResolver

      public DependencyResolver getArtifactResolver()
      The resolver to use to download artifacts
      Returns:
      The resolver to use to download artifacts
    • getReport

      public MetadataArtifactDownloadReport getReport()
      Returns a report of the resolved module metadata artifact provisioning.
      Returns:
      a report of the resolved module metadata artifact provisioning.
    • isForce

      public boolean isForce()
      Returns true if this resolved module revision should be forced as the one being returned.

      This is used as an indication for CompositeResolver, to know if they should continue to look for a better ResolvedModuleRevision if possible, or stop with this instance.

      Returns:
      true if this resolved module revision should be forced as the one being returned.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object