Package org.basepom.mojo.dvc.version
Class VersionResolutionCollection
java.lang.Object
org.basepom.mojo.dvc.version.VersionResolutionCollection
- All Implemented Interfaces:
Comparable<VersionResolutionCollection>
public final class VersionResolutionCollection
extends Object
implements Comparable<VersionResolutionCollection>
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
org.apache.maven.artifact.versioning.ComparableVersion
com.google.common.collect.ImmutableSortedSet<VersionResolutionElement>
boolean
boolean
int
hashCode()
boolean
boolean
isMatchFor
(org.apache.maven.artifact.versioning.ComparableVersion version) Matches a given version to the collection.static com.google.common.collect.ImmutableSetMultimap<QualifiedName,
VersionResolutionCollection> toResolutionMap
(com.google.common.collect.SetMultimap<QualifiedName, VersionResolution> map) toString()
-
Method Details
-
getRequestingDependencies
public com.google.common.collect.ImmutableSortedSet<VersionResolutionElement> getRequestingDependencies() -
getExpectedVersion
-
isMatchFor
Matches a given version to the collection.- Parameters:
version
- The version to match to this collection.- Returns:
- True if the selected version exactly matches the expected version.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<VersionResolutionCollection>
-
hasConflict
-
hasDirectDependencies
-
hasManagedDependencies
-
toResolutionMap
public static com.google.common.collect.ImmutableSetMultimap<QualifiedName,VersionResolutionCollection> toResolutionMap(com.google.common.collect.SetMultimap<QualifiedName, VersionResolution> map) -
toString
-
equals
-
hashCode
-