Package win.dailypickle.report.model
Record Class Step
java.lang.Object
java.lang.Record
win.dailypickle.report.model.Step
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattachmentsrecord component.Returns the value of thedataTablerecord component.Returns the value of thedocStringrecord component.longReturns the value of thedurationMsrecord component.final booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.final inthashCode()Returns a hash code value for this object.keyword()Returns the value of thekeywordrecord component.name()Returns the value of thenamerecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Step
public Step(String keyword, String name, Status status, long durationMs, StepError error, DataTable dataTable, DocString docString, List<Attachment> attachments) Creates an instance of aSteprecord class.- Parameters:
keyword- the value for thekeywordrecord componentname- the value for thenamerecord componentstatus- the value for thestatusrecord componentdurationMs- the value for thedurationMsrecord componenterror- the value for theerrorrecord componentdataTable- the value for thedataTablerecord componentdocString- the value for thedocStringrecord componentattachments- the value for theattachmentsrecord 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 '=='. -
keyword
Returns the value of thekeywordrecord component.- Returns:
- the value of the
keywordrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord 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
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-
dataTable
Returns the value of thedataTablerecord component.- Returns:
- the value of the
dataTablerecord component
-
docString
Returns the value of thedocStringrecord component.- Returns:
- the value of the
docStringrecord component
-
attachments
Returns the value of theattachmentsrecord component.- Returns:
- the value of the
attachmentsrecord component
-