Record Class BddScenarioFixtureRecord
java.lang.Object
java.lang.Record
com.arc_e_tect.gradle.trackerlens.fixture.BddScenarioFixtureRecord
- Record Components:
fingerprint- stable identifier, unique within the generated fixturescenarioName- the scenario's display namefeatureTitle- the enclosing feature's titlelistedAt- when the scenario was first discovered, ornulldefinedAt- when the scenario first gained a Gherkin definition, ornull- may be unset even whenimplementedAtis set, when a scenario was first observed already implementedimplementedAt- when a step-definition implementation was first detected, ornulllastSeenAt- when this scenario was last observed presentremovedAt- when this scenario was first observed missing, ornullwhile still present
public record BddScenarioFixtureRecord(String fingerprint, String scenarioName, String featureTitle, Instant listedAt, Instant definedAt, Instant implementedAt, Instant lastSeenAt, Instant removedAt)
extends Record
One generated row of the BDD-scenario progress history, in
GherkinScenarioTrackerSource's own field shape
- fingerprint, scenarioName, featureTitle, listedAt,
definedAt, implementedAt, lastSeenAt, removedAt.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefinedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefeatureTitlerecord component.Returns the value of thefingerprintrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theimplementedAtrecord component.Returns the value of thelastSeenAtrecord component.listedAt()Returns the value of thelistedAtrecord component.Returns the value of theremovedAtrecord component.Returns the value of thescenarioNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BddScenarioFixtureRecord
public BddScenarioFixtureRecord(String fingerprint, String scenarioName, String featureTitle, Instant listedAt, Instant definedAt, Instant implementedAt, Instant lastSeenAt, Instant removedAt) Creates an instance of aBddScenarioFixtureRecordrecord class.- Parameters:
fingerprint- the value for thefingerprintrecord componentscenarioName- the value for thescenarioNamerecord componentfeatureTitle- the value for thefeatureTitlerecord componentlistedAt- the value for thelistedAtrecord componentdefinedAt- the value for thedefinedAtrecord componentimplementedAt- the value for theimplementedAtrecord componentlastSeenAt- the value for thelastSeenAtrecord componentremovedAt- the value for theremovedAtrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
fingerprint
Returns the value of thefingerprintrecord component.- Returns:
- the value of the
fingerprintrecord component
-
scenarioName
Returns the value of thescenarioNamerecord component.- Returns:
- the value of the
scenarioNamerecord component
-
featureTitle
Returns the value of thefeatureTitlerecord component.- Returns:
- the value of the
featureTitlerecord component
-
listedAt
Returns the value of thelistedAtrecord component.- Returns:
- the value of the
listedAtrecord component
-
definedAt
Returns the value of thedefinedAtrecord component.- Returns:
- the value of the
definedAtrecord component
-
implementedAt
Returns the value of theimplementedAtrecord component.- Returns:
- the value of the
implementedAtrecord component
-
lastSeenAt
Returns the value of thelastSeenAtrecord component.- Returns:
- the value of the
lastSeenAtrecord component
-
removedAt
Returns the value of theremovedAtrecord component.- Returns:
- the value of the
removedAtrecord component
-