Package org.pkl.core

Class PklInfo.PackageIndex

  • Enclosing class:
    PklInfo

    public static final class PklInfo.PackageIndex
    extends java.lang.Object
    A Pkl package index.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPackagePage​(java.lang.String packageName, java.lang.String packageVersion)
      Returns the homepage of the given package.
      java.lang.String homepage()
      The homepage of this package index.
      • Methods inherited from class java.lang.Object

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

      • PackageIndex

        public PackageIndex​(java.lang.String homepage)
        Constructs a PklInfo.PackageIndex.
    • Method Detail

      • homepage

        public java.lang.String homepage()
        The homepage of this package index.
      • getPackagePage

        public java.lang.String getPackagePage​(java.lang.String packageName,
                                               java.lang.String packageVersion)
        Returns the homepage of the given package.