Record Class Step.InfoStepData
java.lang.Object
java.lang.Record
net.covers1624.coffeegrinder.debug.Step.InfoStepData
- All Implemented Interfaces:
Step.StepData
- Enclosing class:
Step
public static record Step.InfoStepData(String data, @Nullable String dataRight, boolean diff)
extends Record
implements Step.StepData
-
Constructor Summary
ConstructorsConstructorDescriptionInfoStepData(String data, @Nullable String dataRight, boolean diff) Creates an instance of aInfoStepDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.@Nullable StringReturns the value of thedataRightrecord component.booleandiff()Returns the value of thediffrecord 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.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.covers1624.coffeegrinder.debug.Step.StepData
getDuration, hasChanges, hasError, isFinished
-
Constructor Details
-
InfoStepData
Creates an instance of aInfoStepDatarecord class.- Parameters:
data- the value for thedatarecord componentdataRight- the value for thedataRightrecord componentdiff- the value for thediffrecord 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 '=='. -
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
dataRight
Returns the value of thedataRightrecord component.- Returns:
- the value of the
dataRightrecord component
-
diff
public boolean diff()Returns the value of thediffrecord component.- Returns:
- the value of the
diffrecord component
-