Package de.mnl.osgi.bnd.maven
Class BoundArchive
- java.lang.Object
-
- aQute.maven.api.Archive
-
- de.mnl.osgi.bnd.maven.BoundArchive
-
- All Implemented Interfaces:
Comparable<aQute.maven.api.Archive>
public class BoundArchive extends aQute.maven.api.Archive
AnArchive
with a reference to the maven repository in which it was found.- See Also:
BoundRevision
-
-
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 repositoryunbound
- 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 repositoryrevision
- the revisionsnapshot
- the snapshotextension
- the extensionclassifier
- 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
-
-