Class VersionResolution

java.lang.Object
org.basepom.mojo.dvc.version.VersionResolution

public final class VersionResolution extends Object
  • Method Details

    • forDirectDependency

      public static VersionResolution forDirectDependency(QualifiedName requestingDependency, org.apache.maven.artifact.versioning.ComparableVersion expectedVersion, boolean managedDependency)
    • forTransitiveDependency

      public static VersionResolution forTransitiveDependency(QualifiedName requestingDependency, org.apache.maven.artifact.versioning.ComparableVersion expectedVersion, boolean managedDependency)
    • getRequestingDependency

      public VersionResolutionElement getRequestingDependency()
    • getExpectedVersion

      public org.apache.maven.artifact.versioning.ComparableVersion getExpectedVersion()
    • conflict

      public void conflict()
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object