Record Class TemplateProbeGenerator.ProbeResult
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.TemplateProbeGenerator.ProbeResult
- Enclosing class:
TemplateProbeGenerator
public static record TemplateProbeGenerator.ProbeResult(List<AtnBasedGenerator.NamedSource> sources, String templateId)
extends Record
Result of probe generation: the sources to compile and the template identity for tracking.
-
Constructor Summary
ConstructorsConstructorDescriptionProbeResult(List<AtnBasedGenerator.NamedSource> sources, String templateId) Creates an instance of aProbeResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.sources()Returns the value of thesourcesrecord component.Returns the value of thetemplateIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProbeResult
Creates an instance of aProbeResultrecord class.- Parameters:
sources- the value for thesourcesrecord componenttemplateId- the value for thetemplateIdrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
sources
Returns the value of thesourcesrecord component.- Returns:
- the value of the
sourcesrecord component
-
templateId
Returns the value of thetemplateIdrecord component.- Returns:
- the value of the
templateIdrecord component
-