Package org.pkl.core.project
Record Class ProjectPackager.PackageResult
java.lang.Object
java.lang.Record
org.pkl.core.project.ProjectPackager.PackageResult
- Enclosing class:
ProjectPackager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.As of 0.28.0, replaced bymetadataChecksumFile().Deprecated, for removal: This API element is subject to removal in a future version.As of 0.28.0, replaced bymetadataFile().Deprecated, for removal: This API element is subject to removal in a future version.As of 0.28.0, replaced byzipChecksumFile().Deprecated, for removal: This API element is subject to removal in a future version.As of 0.28.0, replaced byzipFile().final inthashCode()Returns a hash code value for this object.Returns the value of themetadataChecksumrecord component.Returns the value of themetadataChecksumFilerecord component.Returns the value of themetadataFilerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thezipChecksumFilerecord component.zipFile()Returns the value of thezipFilerecord component.
-
Constructor Details
-
PackageResult
public PackageResult(Path zipFile, Path zipChecksumFile, Path metadataFile, Path metadataChecksumFile, String metadataChecksum) Creates an instance of aPackageResultrecord class.- Parameters:
zipFile- the value for thezipFilerecord componentzipChecksumFile- the value for thezipChecksumFilerecord componentmetadataFile- the value for themetadataFilerecord componentmetadataChecksumFile- the value for themetadataChecksumFilerecord componentmetadataChecksum- the value for themetadataChecksumrecord component
-
-
Method Details
-
getZipFile
Deprecated, for removal: This API element is subject to removal in a future version.As of 0.28.0, replaced byzipFile(). -
getZipChecksumFile
Deprecated, for removal: This API element is subject to removal in a future version.As of 0.28.0, replaced byzipChecksumFile(). -
getMetadataFile
Deprecated, for removal: This API element is subject to removal in a future version.As of 0.28.0, replaced bymetadataFile(). -
getMetadataChecksumFile
Deprecated, for removal: This API element is subject to removal in a future version.As of 0.28.0, replaced bymetadataChecksumFile(). -
getMetadataChecksum
Deprecated, for removal: This API element is subject to removal in a future version.As of 0.28.0, replaced bymetadataChecksum(). -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
zipFile
Returns the value of thezipFilerecord component.- Returns:
- the value of the
zipFilerecord component
-
zipChecksumFile
Returns the value of thezipChecksumFilerecord component.- Returns:
- the value of the
zipChecksumFilerecord component
-
metadataFile
Returns the value of themetadataFilerecord component.- Returns:
- the value of the
metadataFilerecord component
-
metadataChecksumFile
Returns the value of themetadataChecksumFilerecord component.- Returns:
- the value of the
metadataChecksumFilerecord component
-
metadataChecksum
Returns the value of themetadataChecksumrecord component.- Returns:
- the value of the
metadataChecksumrecord component
-
metadataChecksum().