Package win.dailypickle.report.model
Record Class Feature
java.lang.Object
java.lang.Record
win.dailypickle.report.model.Feature
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.longReturns the value of thedurationMsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thescenariosrecord component.Returns the value of thescenarioSummaryrecord component.status()Returns the value of thestatusrecord component.tags()Returns the value of thetagsrecord component.final StringtoString()Returns a string representation of this record class.uri()Returns the value of theurirecord component.
-
Constructor Details
-
Feature
public Feature(String name, String description, String uri, List<String> tags, Status status, long durationMs, CountSummary scenarioSummary, List<Scenario> scenarios) Creates an instance of aFeaturerecord class.- Parameters:
name- the value for thenamerecord componentdescription- the value for thedescriptionrecord componenturi- the value for theurirecord componenttags- the value for thetagsrecord componentstatus- the value for thestatusrecord componentdurationMs- the value for thedurationMsrecord componentscenarioSummary- the value for thescenarioSummaryrecord componentscenarios- the value for thescenariosrecord component
-
-
Method Details
-
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 '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
uri
Returns the value of theurirecord component.- Returns:
- the value of the
urirecord component
-
tags
Returns the value of thetagsrecord component.- Returns:
- the value of the
tagsrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
durationMs
public long durationMs()Returns the value of thedurationMsrecord component.- Returns:
- the value of the
durationMsrecord component
-
scenarioSummary
Returns the value of thescenarioSummaryrecord component.- Returns:
- the value of the
scenarioSummaryrecord component
-
scenarios
Returns the value of thescenariosrecord component.- Returns:
- the value of the
scenariosrecord component
-