Package win.dailypickle.report.model
Record Class CucumberRun
java.lang.Object
java.lang.Record
win.dailypickle.report.model.CucumberRun
public record CucumberRun(String generated, long durationMs, CountSummary featureSummary, List<Feature> features)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCucumberRun(String generated, long durationMs, CountSummary featureSummary, List<Feature> features) Creates an instance of aCucumberRunrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thedurationMsrecord component.final booleanIndicates whether some other object is "equal to" this one.features()Returns the value of thefeaturesrecord component.Returns the value of thefeatureSummaryrecord component.Returns the value of thegeneratedrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CucumberRun
public CucumberRun(String generated, long durationMs, CountSummary featureSummary, List<Feature> features) Creates an instance of aCucumberRunrecord class.- Parameters:
generated- the value for thegeneratedrecord componentdurationMs- the value for thedurationMsrecord componentfeatureSummary- the value for thefeatureSummaryrecord componentfeatures- the value for thefeaturesrecord component
-
-
Method Details
-
scenarioSummary
-
stepSummary
-
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 '=='. -
generated
Returns the value of thegeneratedrecord component.- Returns:
- the value of the
generatedrecord component
-
durationMs
public long durationMs()Returns the value of thedurationMsrecord component.- Returns:
- the value of the
durationMsrecord component
-
featureSummary
Returns the value of thefeatureSummaryrecord component.- Returns:
- the value of the
featureSummaryrecord component
-
features
Returns the value of thefeaturesrecord component.- Returns:
- the value of the
featuresrecord component
-