Record Class ProgressReportOptions
java.lang.Object
java.lang.Record
com.arc_e_tect.gradle.gherkin.progress.ProgressReportOptions
- Record Components:
groupByFeature- whether to group scenarios by their enclosingFeature, within each status, instead of a flat listsnippetDir- directory to write thelisted.adoc/defined.adoc/implemented.adocsnippet files totemplate- a Mustache template file used to render the report so that it includes the generated snippets rather than embedding their content verbatim;nullto use the built-in default report layout
public record ProgressReportOptions(boolean groupByFeature, File snippetDir, File template)
extends Record
Configuration for
ProgressReportWriter.-
Constructor Summary
ConstructorsConstructorDescriptionProgressReportOptions(boolean groupByFeature, File snippetDir, File template) Creates an instance of aProgressReportOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thegroupByFeaturerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesnippetDirrecord component.template()Returns the value of thetemplaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProgressReportOptions
Creates an instance of aProgressReportOptionsrecord class.- Parameters:
groupByFeature- the value for thegroupByFeaturerecord componentsnippetDir- the value for thesnippetDirrecord componenttemplate- the value for thetemplaterecord component
-
-
Method Details
-
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. -
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. -
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 '=='. -
groupByFeature
public boolean groupByFeature()Returns the value of thegroupByFeaturerecord component.- Returns:
- the value of the
groupByFeaturerecord component
-
snippetDir
Returns the value of thesnippetDirrecord component.- Returns:
- the value of the
snippetDirrecord component
-
template
Returns the value of thetemplaterecord component.- Returns:
- the value of the
templaterecord component
-