Record Class CaptureEnrichmentPreview.AssertionSuggestion
java.lang.Object
java.lang.Record
com.shaft.capture.generate.CaptureEnrichmentPreview.AssertionSuggestion
- Record Components:
eventSequence- captured event sequenceverification- verification kindnegated- whether the state assertion is negated
- Enclosing class:
CaptureEnrichmentPreview
-
Constructor Summary
ConstructorsConstructorDescriptionAssertionSuggestion(long eventSequence, String verification, boolean negated) Creates an instance of aAssertionSuggestionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longReturns the value of theeventSequencerecord component.final inthashCode()Returns a hash code value for this object.booleannegated()Returns the value of thenegatedrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theverificationrecord component.
-
Constructor Details
-
AssertionSuggestion
Creates an instance of aAssertionSuggestionrecord class.- Parameters:
eventSequence- the value for theeventSequencerecord componentverification- the value for theverificationrecord componentnegated- the value for thenegatedrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
eventSequence
public long eventSequence()Returns the value of theeventSequencerecord component.- Returns:
- the value of the
eventSequencerecord component
-
verification
Returns the value of theverificationrecord component.- Returns:
- the value of the
verificationrecord component
-
negated
-