Package net.javasauce.ss.util
Record Class VersionManifest.LoggingEntry
java.lang.Object
java.lang.Record
net.javasauce.ss.util.VersionManifest.LoggingEntry
- Enclosing class:
VersionManifest
public static record VersionManifest.LoggingEntry(@Nullable String argument, @Nullable String type, @Nullable VersionManifest.LoggingDownload file)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingEntry(@Nullable String argument, @Nullable String type, @Nullable VersionManifest.LoggingDownload file) Creates an instance of aLoggingEntryrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringargument()Returns the value of theargumentrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable VersionManifest.LoggingDownloadfile()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.@Nullable Stringtype()Returns the value of thetyperecord component.
-
Constructor Details
-
LoggingEntry
public LoggingEntry(@Nullable @Nullable String argument, @Nullable @Nullable String type, @Nullable @Nullable VersionManifest.LoggingDownload file) Creates an instance of aLoggingEntryrecord class.- Parameters:
argument- the value for theargumentrecord componenttype- the value for thetyperecord componentfile- the value for thefilerecord component
-
-
Method Details
-
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). -
argument
Returns the value of theargumentrecord component.- Returns:
- the value of the
argumentrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
file
Returns the value of thefilerecord component.- Returns:
- the value of the
filerecord component
-