Record Class flixw.Pin
java.lang.Object
java.lang.Record
flixw.Pin
- Enclosing class:
flixw
static record flixw.Pin(String repo, String version, String java, boolean clearJava, boolean refresh, String editorJar, String localJar, boolean stock, boolean fetch)
extends Record
Parsed pin request; local selection never replaces the committed release fallback.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for theclearJavarecord component.private final StringThe field for theeditorJarrecord component.private final booleanThe field for thefetchrecord component.private final StringThe field for thejavarecord component.private final StringThe field for thelocalJarrecord component.private final booleanThe field for therefreshrecord component.private final StringThe field for thereporecord component.private final booleanThe field for thestockrecord component.private final StringThe field for theversionrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theclearJavarecord component.Returns the value of theeditorJarrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanfetch()Returns the value of thefetchrecord component.final inthashCode()Returns a hash code value for this object.java()Returns the value of thejavarecord component.localJar()Returns the value of thelocalJarrecord component.booleanrefresh()Returns the value of therefreshrecord component.repo()Returns the value of thereporecord component.booleanstock()Returns the value of thestockrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Field Details
-
repo
The field for thereporecord component. -
version
The field for theversionrecord component. -
java
The field for thejavarecord component. -
clearJava
private final boolean clearJavaThe field for theclearJavarecord component. -
refresh
private final boolean refreshThe field for therefreshrecord component. -
editorJar
The field for theeditorJarrecord component. -
localJar
The field for thelocalJarrecord component. -
stock
private final boolean stockThe field for thestockrecord component. -
fetch
private final boolean fetchThe field for thefetchrecord component.
-
-
Constructor Details
-
Pin
Pin(String repo, String version, String java, boolean clearJava, boolean refresh, String editorJar, String localJar, boolean stock, boolean fetch) Creates an instance of aPinrecord class.- Parameters:
repo- the value for thereporecord componentversion- the value for theversionrecord componentjava- the value for thejavarecord componentclearJava- the value for theclearJavarecord componentrefresh- the value for therefreshrecord componenteditorJar- the value for theeditorJarrecord componentlocalJar- the value for thelocalJarrecord componentstock- the value for thestockrecord componentfetch- the value for thefetchrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
repo
Returns the value of thereporecord component.- Returns:
- the value of the
reporecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
java
Returns the value of thejavarecord component.- Returns:
- the value of the
javarecord component
-
clearJava
public boolean clearJava()Returns the value of theclearJavarecord component.- Returns:
- the value of the
clearJavarecord component
-
refresh
public boolean refresh()Returns the value of therefreshrecord component.- Returns:
- the value of the
refreshrecord component
-
editorJar
Returns the value of theeditorJarrecord component.- Returns:
- the value of the
editorJarrecord component
-
localJar
Returns the value of thelocalJarrecord component.- Returns:
- the value of the
localJarrecord component
-
stock
public boolean stock()Returns the value of thestockrecord component.- Returns:
- the value of the
stockrecord component
-
fetch
public boolean fetch()Returns the value of thefetchrecord component.- Returns:
- the value of the
fetchrecord component
-