Class ArtifactMatcher


  • public class ArtifactMatcher
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ArtifactMatcher()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static org.eclipse.equinox.p2.metadata.VersionRange getRangeOfEquivalentVersions​(org.eclipse.equinox.p2.metadata.Version version)
      Returns a version range which includes "equivalent" versions, i.e.
      private static org.eclipse.equinox.p2.metadata.VersionRange getStrictRange​(org.eclipse.equinox.p2.metadata.Version version)  
      private static org.eclipse.equinox.p2.metadata.VersionRange getVersionRangeFromReference​(org.eclipse.equinox.p2.metadata.Version version)  
      static org.eclipse.equinox.p2.metadata.Version parseAsOSGiVersion​(java.lang.String version)  
      static org.eclipse.equinox.p2.metadata.IInstallableUnit resolveReference​(java.lang.String type, java.lang.String id, org.eclipse.equinox.p2.metadata.Version version, java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> candidateUnits)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArtifactMatcher

        public ArtifactMatcher()
    • Method Detail

      • resolveReference

        public static org.eclipse.equinox.p2.metadata.IInstallableUnit resolveReference​(java.lang.String type,
                                                                                        java.lang.String id,
                                                                                        org.eclipse.equinox.p2.metadata.Version version,
                                                                                        java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> candidateUnits)
                                                                                 throws IllegalArtifactReferenceException
        Throws:
        IllegalArtifactReferenceException
      • getVersionRangeFromReference

        private static org.eclipse.equinox.p2.metadata.VersionRange getVersionRangeFromReference​(org.eclipse.equinox.p2.metadata.Version version)
      • getStrictRange

        private static org.eclipse.equinox.p2.metadata.VersionRange getStrictRange​(org.eclipse.equinox.p2.metadata.Version version)
      • getRangeOfEquivalentVersions

        private static org.eclipse.equinox.p2.metadata.VersionRange getRangeOfEquivalentVersions​(org.eclipse.equinox.p2.metadata.Version version)
        Returns a version range which includes "equivalent" versions, i.e. versions with the same major, minor, and micro version.