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 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 a EntryReport record class.
      Parameters:
      id - the value for the id record component
      provider - the value for the provider record component
      verdict - the value for the verdict record component
      fromPrevious - the value for the fromPrevious record component
      kept - the value for the kept record component
      outcome - the value for the outcome record component
      tpmBefore - the value for the tpmBefore record component
      tpmAfter - the value for the tpmAfter record component
      rpmBefore - the value for the rpmBefore record component
      rpmAfter - the value for the rpmAfter record component
      wireBefore - the value for the wireBefore record component
      wireAfter - the value for the wireAfter record component
      note - the value for the note record component
      added - the value for the added record component
  • Method Details

    • relocated

      public boolean relocated()
      An entry whose wire id the discovery rewrote to the geography profile this region lists.
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • provider

      public String provider()
      Returns the value of the provider record component.
      Returns:
      the value of the provider record component
    • verdict

      public CatalogDiscovery.Verdict verdict()
      Returns the value of the verdict record component.
      Returns:
      the value of the verdict record component
    • fromPrevious

      public boolean fromPrevious()
      Returns the value of the fromPrevious record component.
      Returns:
      the value of the fromPrevious record component
    • kept

      public boolean kept()
      Returns the value of the kept record component.
      Returns:
      the value of the kept record component
    • outcome

      public ProbeOutcome outcome()
      Returns the value of the outcome record component.
      Returns:
      the value of the outcome record component
    • tpmBefore

      public Integer tpmBefore()
      Returns the value of the tpmBefore record component.
      Returns:
      the value of the tpmBefore record component
    • tpmAfter

      public Integer tpmAfter()
      Returns the value of the tpmAfter record component.
      Returns:
      the value of the tpmAfter record component
    • rpmBefore

      public Integer rpmBefore()
      Returns the value of the rpmBefore record component.
      Returns:
      the value of the rpmBefore record component
    • rpmAfter

      public Integer rpmAfter()
      Returns the value of the rpmAfter record component.
      Returns:
      the value of the rpmAfter record component
    • wireBefore

      public String wireBefore()
      Returns the value of the wireBefore record component.
      Returns:
      the value of the wireBefore record component
    • wireAfter

      public String wireAfter()
      Returns the value of the wireAfter record component.
      Returns:
      the value of the wireAfter record component
    • note

      public String note()
      Returns the value of the note record component.
      Returns:
      the value of the note record component
    • added

      public boolean added()
      Returns the value of the added record component.
      Returns:
      the value of the added record component