Class GoModDependency


  • public class GoModDependency
    extends java.lang.Object
    Represents a Go module dependency.
    Author:
    Matthijs van den Bos
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Dependency toDependency​(Dependency parentDependency)
      Converts the GoModDependency into a Dependency object.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • toDependency

        public Dependency toDependency​(Dependency parentDependency)
        Converts the GoModDependency into a Dependency object.
        Parameters:
        parentDependency - the parent dependency
        Returns:
        the resulting Dependency object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object