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 Summary
ConstructorsConstructorDescriptionDiscoverOutcome(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 aDiscoverOutcomerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassifiedrecord component.Returns the value of theclassifiedByrecord component.Returns the value of theclassifiedDroppedrecord component.Returns the value of theclassifierFailurerecord component.intentries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.file()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.nonZdr()Returns the value of thenonZdrrecord component.Returns the value of theprovidersrecord component.report()Returns the value of thereportrecord component.scope()Returns the value of thescoperecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.unserved()Returns the value of theunservedrecord component.
-
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 aDiscoverOutcomerecord class.- Parameters:
report- the value for thereportrecord componentfile- the value for thefilerecord componententries- the value for theentriesrecord componentscope- the value for thescoperecord componentproviders- the value for theprovidersrecord componentclassifiedBy- the value for theclassifiedByrecord componentclassified- the value for theclassifiedrecord componentclassifiedDropped- the value for theclassifiedDroppedrecord componentnonZdr- the value for thenonZdrrecord componentunserved- the value for theunservedrecord componentclassifierFailure- the value for theclassifierFailurerecord componentstatus- the value for thestatusrecord 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. -
report
Returns the value of thereportrecord component.- Returns:
- the value of the
reportrecord component
-
file
Returns the value of thefilerecord component.- Returns:
- the value of the
filerecord component
-
entries
public int entries()Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-
scope
-
providers
Returns the value of theprovidersrecord component.- Returns:
- the value of the
providersrecord component
-
classifiedBy
Returns the value of theclassifiedByrecord component.- Returns:
- the value of the
classifiedByrecord component
-
classified
-
classifiedDropped
-
nonZdr
-
unserved
-
classifierFailure
Returns the value of theclassifierFailurerecord component.- Returns:
- the value of the
classifierFailurerecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-