Record Class SequenceStepStarted
java.lang.Object
java.lang.Record
com.gtnewhorizons.horizonqa.api.event.SequenceStepStarted
- Record Components:
tick- logical event-log tickindex- one-based step indextotalSteps- number of declared sequence stepslabel- author label, or declaration source when unlabeledkind- sequence step kindphase- server tick phasescheduledTick- effective outer test tick scheduled by the sequencesource- declaration source location
- All Implemented Interfaces:
TestEvent
@Desugar
public record SequenceStepStarted(int tick, int index, int totalSteps, String label, String kind, String phase, long scheduledTick, String source)
extends Record
implements TestEvent
A sequence step reached its first execution attempt.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gtnewhorizons.horizonqa.api.event.TestEvent
TestEvent.Category -
Constructor Summary
ConstructorsConstructorDescriptionSequenceStepStarted(int tick, int index, int totalSteps, String label, String kind, String phase, long scheduledTick, String source) Creates an instance of aSequenceStepStartedrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncategory()Coarse bucket; one ofTestEvent.Category.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intindex()Returns the value of theindexrecord component.kind()Returns the value of thekindrecord component.label()Returns the value of thelabelrecord component.phase()Returns the value of thephaserecord component.longReturns the value of thescheduledTickrecord component.source()Returns the value of thesourcerecord component.summary()Single-line human-readable description.inttick()Returns the value of thetickrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetotalStepsrecord component.
-
Constructor Details
-
SequenceStepStarted
public SequenceStepStarted(int tick, int index, int totalSteps, String label, String kind, String phase, long scheduledTick, String source) Creates an instance of aSequenceStepStartedrecord class.- Parameters:
tick- the value for thetickrecord componentindex- the value for theindexrecord componenttotalSteps- the value for thetotalStepsrecord componentlabel- the value for thelabelrecord componentkind- the value for thekindrecord componentphase- the value for thephaserecord componentscheduledTick- the value for thescheduledTickrecord componentsource- the value for thesourcerecord component
-
-
Method Details
-
category
Description copied from interface:TestEventCoarse bucket; one ofTestEvent.Category. -
summary
Description copied from interface:TestEventSingle-line human-readable description. Reporters print this verbatim. -
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 '=='. -
tick
public int tick()Returns the value of thetickrecord component. -
index
public int index()Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-
totalSteps
public int totalSteps()Returns the value of thetotalStepsrecord component.- Returns:
- the value of the
totalStepsrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
phase
Returns the value of thephaserecord component.- Returns:
- the value of the
phaserecord component
-
scheduledTick
public long scheduledTick()Returns the value of thescheduledTickrecord component.- Returns:
- the value of the
scheduledTickrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-