Record Class SymbolRegistryEnrichmentResult
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.osmosis.models.symbol.SymbolRegistryEnrichmentResult
- Record Components:
category- categoryprocessedCount- processed countupdatedCount- updated countdryRun- dry-run flagentries- result entries
public record SymbolRegistryEnrichmentResult(String category, int processedCount, int updatedCount, boolean dryRun, List<SymbolRegistryEnrichmentResultEntry> entries)
extends Record
Result for a symbol registry enrichment execution.
- Version:
- 1.0.9
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolRegistryEnrichmentResult(String category, int processedCount, int updatedCount, boolean dryRun, List<SymbolRegistryEnrichmentResultEntry> entries) Creates an instance of aSymbolRegistryEnrichmentResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncategory()Returns the value of thecategoryrecord component.booleandryRun()Returns the value of thedryRunrecord component.entries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theprocessedCountrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of theupdatedCountrecord component.
-
Constructor Details
-
SymbolRegistryEnrichmentResult
public SymbolRegistryEnrichmentResult(String category, int processedCount, int updatedCount, boolean dryRun, List<SymbolRegistryEnrichmentResultEntry> entries) Creates an instance of aSymbolRegistryEnrichmentResultrecord class.- Parameters:
category- the value for thecategoryrecord componentprocessedCount- the value for theprocessedCountrecord componentupdatedCount- the value for theupdatedCountrecord componentdryRun- the value for thedryRunrecord componententries- the value for theentriesrecord 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. -
category
-
processedCount
public int processedCount()Returns the value of theprocessedCountrecord component.- Returns:
- the value of the
processedCountrecord component
-
updatedCount
public int updatedCount()Returns the value of theupdatedCountrecord component.- Returns:
- the value of the
updatedCountrecord component
-
dryRun
-
entries
-