Record Class TemplateProbeGenerator.HarvestedTemplate
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.TemplateProbeGenerator.HarvestedTemplate
- Enclosing class:
TemplateProbeGenerator
static record TemplateProbeGenerator.HarvestedTemplate(String moduleName, String source, String templateId, List<TemplateProbeGenerator.HarvestedType> types, List<TemplateProbeGenerator.HarvestedFunction> functions)
extends Record
All harvested info from a single qaExample template.
-
Constructor Summary
ConstructorsConstructorDescriptionHarvestedTemplate(String moduleName, String source, String templateId, List<TemplateProbeGenerator.HarvestedType> types, List<TemplateProbeGenerator.HarvestedFunction> functions) Creates an instance of aHarvestedTemplaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionsrecord component.(package private) booleanfinal inthashCode()Returns a hash code value for this object.Returns the value of themoduleNamerecord component.source()Returns the value of thesourcerecord component.Returns the value of thetemplateIdrecord component.final StringtoString()Returns a string representation of this record class.types()Returns the value of thetypesrecord component.
-
Constructor Details
-
HarvestedTemplate
HarvestedTemplate(String moduleName, String source, String templateId, List<TemplateProbeGenerator.HarvestedType> types, List<TemplateProbeGenerator.HarvestedFunction> functions) Creates an instance of aHarvestedTemplaterecord class.- Parameters:
moduleName- the value for themoduleNamerecord componentsource- the value for thesourcerecord componenttemplateId- the value for thetemplateIdrecord componenttypes- the value for thetypesrecord componentfunctions- the value for thefunctionsrecord component
-
-
Method Details
-
hasCallableSymbols
boolean hasCallableSymbols() -
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). -
moduleName
Returns the value of themoduleNamerecord component.- Returns:
- the value of the
moduleNamerecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
templateId
Returns the value of thetemplateIdrecord component.- Returns:
- the value of the
templateIdrecord component
-
types
Returns the value of thetypesrecord component.- Returns:
- the value of the
typesrecord component
-
functions
Returns the value of thefunctionsrecord component.- Returns:
- the value of the
functionsrecord component
-