Record Class flixw.ResolvedPlugin
java.lang.Object
java.lang.Record
flixw.ResolvedPlugin
- Enclosing class:
flixw
One resolved, digest-verified plugin build, ready to launch.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResolvedPlugin(String version, String sha256, Path artifact) Creates an instance of aResolvedPluginrecord class. -
Method Summary
Modifier and TypeMethodDescriptionartifact()Returns the value of theartifactrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.sha256()Returns the value of thesha256record component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Field Details
-
version
The field for theversionrecord component. -
sha256
The field for thesha256record component. -
artifact
The field for theartifactrecord component.
-
-
Constructor Details
-
ResolvedPlugin
Creates an instance of aResolvedPluginrecord class.- Parameters:
version- the value for theversionrecord componentsha256- the value for thesha256record componentartifact- the value for theartifactrecord 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). -
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
sha256
Returns the value of thesha256record component.- Returns:
- the value of the
sha256record component
-
artifact
Returns the value of theartifactrecord component.- Returns:
- the value of the
artifactrecord component
-