Record Class DiscoverOutcome

java.lang.Object
java.lang.Record
ai.redouble.demo.DiscoverOutcome

public record DiscoverOutcome(String report, String file, int entries, List<String> scope, List<ProviderOutcome> providers, String classifiedBy, List<String> classified, List<String> classifiedDropped, List<String> nonZdr, List<String> unserved, String classifierFailure, RuntimeStatus status) extends Record
What the discovery did: its report, the file written, the entry count, the providers this run actually queried with each one's outcome, the entries the discovery's classifier wrote (classifiedBy names the model whose judgment they are; each carries a verify note), the classified entries whose own ping refused them, the new entries left out because the model refuses the zero-retention mode the account runs at (nonZdr), the listed models no provider key has a client for (unserved), and the status the page re-renders from.
  • Constructor Details

    • DiscoverOutcome

      public DiscoverOutcome(String report, String file, int entries, List<String> scope, List<ProviderOutcome> providers, String classifiedBy, List<String> classified, List<String> classifiedDropped, List<String> nonZdr, List<String> unserved, String classifierFailure, RuntimeStatus status)
      Creates an instance of a DiscoverOutcome record class.
      Parameters:
      report - the value for the report record component
      file - the value for the file record component
      entries - the value for the entries record component
      scope - the value for the scope record component
      providers - the value for the providers record component
      classifiedBy - the value for the classifiedBy record component
      classified - the value for the classified record component
      classifiedDropped - the value for the classifiedDropped record component
      nonZdr - the value for the nonZdr record component
      unserved - the value for the unserved record component
      classifierFailure - the value for the classifierFailure record component
      status - the value for the status record component
  • Method Details

    • 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.
    • report

      public String report()
      Returns the value of the report record component.
      Returns:
      the value of the report record component
    • file

      public String file()
      Returns the value of the file record component.
      Returns:
      the value of the file record component
    • entries

      public int entries()
      Returns the value of the entries record component.
      Returns:
      the value of the entries record component
    • scope

      public List<String> scope()
      Returns the value of the scope record component.
      Returns:
      the value of the scope record component
    • providers

      public List<ProviderOutcome> providers()
      Returns the value of the providers record component.
      Returns:
      the value of the providers record component
    • classifiedBy

      public String classifiedBy()
      Returns the value of the classifiedBy record component.
      Returns:
      the value of the classifiedBy record component
    • classified

      public List<String> classified()
      Returns the value of the classified record component.
      Returns:
      the value of the classified record component
    • classifiedDropped

      public List<String> classifiedDropped()
      Returns the value of the classifiedDropped record component.
      Returns:
      the value of the classifiedDropped record component
    • nonZdr

      public List<String> nonZdr()
      Returns the value of the nonZdr record component.
      Returns:
      the value of the nonZdr record component
    • unserved

      public List<String> unserved()
      Returns the value of the unserved record component.
      Returns:
      the value of the unserved record component
    • classifierFailure

      public String classifierFailure()
      Returns the value of the classifierFailure record component.
      Returns:
      the value of the classifierFailure record component
    • status

      public RuntimeStatus status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component