Record Class DownloadClient.Resource
java.lang.Object
java.lang.Record
de.infolektuell.gradle.jextract.model.DownloadClient.Resource
- Record Components:
url- The remote location of the downloadable filechecksum- A checksum to verify the integrity of the downloaded filealgorithm- The algorithm that was used to generate the checksum, e.g., SHA-256
- All Implemented Interfaces:
Serializable
- Enclosing class:
DownloadClient
public static record DownloadClient.Resource(URI url, String checksum, String algorithm)
extends Record
implements Serializable
Describes a downloadable file
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmrecord component.checksum()Returns the value of thechecksumrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
Resource
-
-
Method Details
-
toString
-
hashCode
-
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). -
url
-
checksum
-
algorithm
-