Record Class flixw.PluginDep
java.lang.Object
java.lang.Record
flixw.PluginDep
- Enclosing class:
flixw
static record flixw.PluginDep(String version, String sha256, String source, String description, String command)
extends Record
A plugin dependency the project declares: not a fetch instruction, only a record of
what
flixw plugin install verified when someone last ran it. source
is informational, the way a fork's repo field already is -- pin
never reads it to download anything.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for thecommandrecord component.private final StringThe field for thedescriptionrecord component.private final StringThe field for thesha256record component.private final StringThe field for thesourcerecord component.private final StringThe field for theversionrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommand()Returns the value of thecommandrecord component.Returns the value of thedescriptionrecord 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.source()Returns the value of thesourcerecord 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. -
source
The field for thesourcerecord component. -
description
The field for thedescriptionrecord component. -
command
The field for thecommandrecord component.
-
-
Constructor Details
-
PluginDep
Creates an instance of aPluginDeprecord class.- Parameters:
version- the value for theversionrecord componentsha256- the value for thesha256record componentsource- the value for thesourcerecord componentdescription- the value for thedescriptionrecord componentcommand- the value for thecommandrecord 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
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
command
Returns the value of thecommandrecord component.- Returns:
- the value of the
commandrecord component
-