Package org.pkl.core
Class Release.SourceCode
- java.lang.Object
-
- org.pkl.core.Release.SourceCode
-
- Enclosing class:
- Release
public static final class Release.SourceCode extends java.lang.ObjectThe source code of a Pkl release.
-
-
Constructor Summary
Constructors Constructor Description SourceCode(java.lang.String homepage, java.lang.String version)Constructs aRelease.SourceCode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetFilePage(java.lang.String path)Returns the source code page of the file with the given path.java.lang.StringgetSourceCodeUrlScheme()The source code scheme for the stdlib module.java.lang.StringgetVersion()inthashCode()java.lang.Stringhomepage()The homepage of this source code.
-
-
-
Constructor Detail
-
SourceCode
public SourceCode(java.lang.String homepage, java.lang.String version)Constructs aRelease.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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-