Interface ResolvedDependency

    • Method Detail

      • getUpdateTime

        long getUpdateTime()
        The update time of a dependency package. It will be used in resolving package conflict. Generally speaking, package with newest update time will win.
        Returns:
        the update time determined by the package. It may be the last modified time of a file on filesystem or in scm.
      • getDependencies

        GolangDependencySet getDependencies()
        Get transitive dependencies of this package.
        Returns:
        the transitive dependencies
      • toLockedNotation

        java.util.Map<java.lang.String,​java.lang.Object> toLockedNotation()
        Get a map notation of this ResolvedDependency.
        Returns:
        the map notation
      • installTo

        void installTo​(java.io.File targetDirectory)
        Install to a target directory.
        Parameters:
        targetDirectory - the directory
      • formatVersion

        java.lang.String formatVersion()
        Get the formatted version, typically for dependency tree display.
        Returns:
        the formatted version