Record Class CaptureGenerationReport.Enrichment
java.lang.Object
java.lang.Record
com.shaft.capture.generate.CaptureGenerationReport.Enrichment
- Record Components:
status- enrichment phasepreviewPath- output-root-relative preview pathdiff- reviewed or proposed changesprovider- provider identifier
- Enclosing class:
CaptureGenerationReport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnrichment status. -
Constructor Summary
ConstructorsConstructorDescriptionEnrichment(CaptureGenerationReport.Enrichment.EnrichmentStatus status, String previewPath, List<String> diff, String provider) Creates an instance of aEnrichmentrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondiff()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.Returns the default deterministic state.Returns the value of thepreviewPathrecord component.provider()Returns the value of theproviderrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Enrichment
public Enrichment(CaptureGenerationReport.Enrichment.EnrichmentStatus status, String previewPath, List<String> diff, String provider) Creates an instance of aEnrichmentrecord class.- Parameters:
status- the value for thestatusrecord componentpreviewPath- the value for thepreviewPathrecord componentdiff- the value for thediffrecord componentprovider- the value for theproviderrecord component
-
-
Method Details
-
notRequested
Returns the default deterministic state.- Returns:
- no-enrichment state
-
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). -
status
-
previewPath
Returns the value of thepreviewPathrecord component.- Returns:
- the value of the
previewPathrecord component
-
diff
-
provider
-