Record Class CatalogDiscovery.EntryReport
java.lang.Object
java.lang.Record
ai.redouble.nucleo.harness.models.discovery.CatalogDiscovery.EntryReport
- Enclosing class:
CatalogDiscovery
public static record CatalogDiscovery.EntryReport(String id, String provider, CatalogDiscovery.Verdict verdict, boolean fromPrevious, boolean kept, ProbeOutcome outcome, Integer tpmBefore, Integer tpmAfter, Integer rpmBefore, Integer rpmAfter, String wireBefore, String wireAfter, String note, boolean added)
extends Record
What happened with one catalog entry.
kept says whether it is in the written
file; fromPrevious whether the deployment's file already carried it.- Since:
- 0.1 (2026-09-12)
- Author:
- Andrey Santrosyan
-
Constructor Summary
ConstructorsConstructorDescriptionEntryReport(String id, String provider, CatalogDiscovery.Verdict verdict, boolean fromPrevious, boolean kept, ProbeOutcome outcome, Integer tpmBefore, Integer tpmAfter, Integer rpmBefore, Integer rpmAfter, String wireBefore, String wireAfter, String note, boolean added) Creates an instance of aEntryReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanadded()Returns the value of theaddedrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thefromPreviousrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.booleankept()Returns the value of thekeptrecord component.note()Returns the value of thenoterecord component.outcome()Returns the value of theoutcomerecord component.provider()Returns the value of theproviderrecord component.booleanAn entry whose wire id the discovery rewrote to the geography profile this region lists.rpmAfter()Returns the value of therpmAfterrecord component.Returns the value of therpmBeforerecord component.final StringtoString()Returns a string representation of this record class.tpmAfter()Returns the value of thetpmAfterrecord component.Returns the value of thetpmBeforerecord component.verdict()Returns the value of theverdictrecord component.Returns the value of thewireAfterrecord component.Returns the value of thewireBeforerecord component.
-
Constructor Details
-
EntryReport
public EntryReport(String id, String provider, CatalogDiscovery.Verdict verdict, boolean fromPrevious, boolean kept, ProbeOutcome outcome, Integer tpmBefore, Integer tpmAfter, Integer rpmBefore, Integer rpmAfter, String wireBefore, String wireAfter, String note, boolean added) Creates an instance of aEntryReportrecord class.- Parameters:
id- the value for theidrecord componentprovider- the value for theproviderrecord componentverdict- the value for theverdictrecord componentfromPrevious- the value for thefromPreviousrecord componentkept- the value for thekeptrecord componentoutcome- the value for theoutcomerecord componenttpmBefore- the value for thetpmBeforerecord componenttpmAfter- the value for thetpmAfterrecord componentrpmBefore- the value for therpmBeforerecord componentrpmAfter- the value for therpmAfterrecord componentwireBefore- the value for thewireBeforerecord componentwireAfter- the value for thewireAfterrecord componentnote- the value for thenoterecord componentadded- the value for theaddedrecord component
-
-
Method Details
-
relocated
public boolean relocated()An entry whose wire id the discovery rewrote to the geography profile this region lists. -
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. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
verdict
Returns the value of theverdictrecord component.- Returns:
- the value of the
verdictrecord component
-
fromPrevious
public boolean fromPrevious()Returns the value of thefromPreviousrecord component.- Returns:
- the value of the
fromPreviousrecord component
-
kept
public boolean kept()Returns the value of thekeptrecord component.- Returns:
- the value of the
keptrecord component
-
outcome
Returns the value of theoutcomerecord component.- Returns:
- the value of the
outcomerecord component
-
tpmBefore
Returns the value of thetpmBeforerecord component.- Returns:
- the value of the
tpmBeforerecord component
-
tpmAfter
Returns the value of thetpmAfterrecord component.- Returns:
- the value of the
tpmAfterrecord component
-
rpmBefore
Returns the value of therpmBeforerecord component.- Returns:
- the value of the
rpmBeforerecord component
-
rpmAfter
Returns the value of therpmAfterrecord component.- Returns:
- the value of the
rpmAfterrecord component
-
wireBefore
Returns the value of thewireBeforerecord component.- Returns:
- the value of the
wireBeforerecord component
-
wireAfter
Returns the value of thewireAfterrecord component.- Returns:
- the value of the
wireAfterrecord component
-
note
Returns the value of thenoterecord component.- Returns:
- the value of the
noterecord component
-
added
public boolean added()Returns the value of theaddedrecord component.- Returns:
- the value of the
addedrecord component
-