Package org.pkl.core

Class Release.SourceCode

  • Enclosing class:
    Release

    public static final class Release.SourceCode
    extends java.lang.Object
    The source code of a Pkl release.
    • Constructor Summary

      Constructors 
      Constructor Description
      SourceCode​(java.lang.String homepage, java.lang.String version)
      Constructs a Release.SourceCode.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getFilePage​(java.lang.String path)
      Returns the source code page of the file with the given path.
      java.lang.String getSourceCodeUrlScheme()
      The source code scheme for the stdlib module.
      java.lang.String getVersion()  
      int hashCode()  
      java.lang.String homepage()
      The homepage of this source code.
      • Methods inherited from class java.lang.Object

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

      • SourceCode

        public SourceCode​(java.lang.String homepage,
                          java.lang.String version)
        Constructs a Release.SourceCode.
    • Method Detail

      • getVersion

        public java.lang.String getVersion()
      • homepage

        public java.lang.String homepage()
        The homepage of this source code.
      • getFilePage

        public java.lang.String getFilePage​(java.lang.String path)
        Returns the source code page of the file with the given path. Note: Files may be moved or deleted anytime.
      • getSourceCodeUrlScheme

        public java.lang.String getSourceCodeUrlScheme()
        The source code scheme for the stdlib module.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object