Record Class CaptureEnrichmentPreview.Proposal
java.lang.Object
java.lang.Record
com.shaft.capture.generate.CaptureEnrichmentPreview.Proposal
- Record Components:
className- optional Java class namemethodName- optional Java test method nameelementNames- logical element IDs mapped to Java field namesassertions- additional approved state assertions
- Enclosing class:
CaptureEnrichmentPreview
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassertionsrecord component.Returns the value of theclassNamerecord component.Returns the value of theelementNamesrecord component.empty()Returns an empty deterministic proposal.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themethodNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Proposal
-
-
Method Details
-
empty
Returns an empty deterministic proposal.- Returns:
- empty proposal
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
className
-
methodName
Returns the value of themethodNamerecord component.- Returns:
- the value of the
methodNamerecord component
-
elementNames
Returns the value of theelementNamesrecord component.- Returns:
- the value of the
elementNamesrecord component
-
assertions
Returns the value of theassertionsrecord component.- Returns:
- the value of the
assertionsrecord component
-