Class BoundArchive

  • All Implemented Interfaces:
    Comparable<aQute.maven.api.Archive>

    public class BoundArchive
    extends aQute.maven.api.Archive
    An Archive with a reference to the maven repository in which it was found.
    See Also:
    BoundRevision
    • Field Summary

      • Fields inherited from class aQute.maven.api.Archive

        ARCHIVE_P, classifier, DEFAULT_EXTENSION, extension, JAR_EXTENSION, JAVADOC_CLASSIFIER, localPath, POM_EXTENSION, remotePath, revision, snapshot, SOURCES_CLASSIFIER, ZIP_EXTENSION
    • Constructor Summary

      Constructors 
      Constructor Description
      BoundArchive​(aQute.maven.provider.MavenBackingRepository mavenBackingRepository, aQute.maven.api.Archive unbound)
      Instantiates a new bound archive.
      BoundArchive​(aQute.maven.provider.MavenBackingRepository mavenBackingRepository, aQute.maven.api.Revision revision, MavenVersion snapshot, String extension, String classifier)
      Instantiates a new bound archive.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      aQute.maven.provider.MavenBackingRepository mavenBackingRepository()
      Gets the maven backing repository.
      BoundRevision revision()
      Return the archive's revision, bound to its backing repository.
      • Methods inherited from class aQute.maven.api.Archive

        attributes, compareTo, equals, fromFilepath, getName, getName, getOther, getPomArchive, getRevision, getWithoutVersion, hasClassifier, hasExtension, hashCode, isPom, isResolved, isSnapshot, isValid, resolveSnapshot, toString, update, valueOf, valueOf
    • Constructor Detail

      • BoundArchive

        public BoundArchive​(aQute.maven.provider.MavenBackingRepository mavenBackingRepository,
                            aQute.maven.api.Archive unbound)
        Instantiates a new bound archive.
        Parameters:
        mavenBackingRepository - the maven backing repository
        unbound - the unbound archive
      • BoundArchive

        public BoundArchive​(aQute.maven.provider.MavenBackingRepository mavenBackingRepository,
                            aQute.maven.api.Revision revision,
                            MavenVersion snapshot,
                            String extension,
                            String classifier)
        Instantiates a new bound archive.
        Parameters:
        mavenBackingRepository - the maven backing repository
        revision - the revision
        snapshot - the snapshot
        extension - the extension
        classifier - the classifier
    • Method Detail

      • mavenBackingRepository

        public aQute.maven.provider.MavenBackingRepository mavenBackingRepository()
        Gets the maven backing repository.
        Returns:
        the mavenBackingRepository
      • revision

        public BoundRevision revision()
        Return the archive's revision, bound to its backing repository.
        Returns:
        the bound revision