Record Class HarPageTiming
java.lang.Object
java.lang.Record
de.sstoehr.harreader.model.HarPageTiming
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aHarPageTimingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalrecord component.comment()Returns the value of thecommentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theonContentLoadrecord component.onLoad()Returns the value of theonLoadrecord component.voidsetAdditionalField(String key, Object value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
DEFAULT_TIME
-
-
Constructor Details
-
HarPageTiming
public HarPageTiming() -
HarPageTiming
public HarPageTiming(@Nullable Integer onContentLoad, @Nullable Integer onLoad, @Nullable String comment, @Nullable Map<String, Object> additional) Creates an instance of aHarPageTimingrecord class.- Parameters:
onContentLoad- the value for theonContentLoadrecord componentonLoad- the value for theonLoadrecord componentcomment- the value for thecommentrecord componentadditional- the value for theadditionalrecord component
-
-
Method Details
-
additional
-
setAdditionalField
-
toString
-
hashCode
-
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). -
onContentLoad
Returns the value of theonContentLoadrecord component.- Returns:
- the value of the
onContentLoadrecord component
-
onLoad
Returns the value of theonLoadrecord component.- Returns:
- the value of the
onLoadrecord component
-
comment
Returns the value of thecommentrecord component.- Returns:
- the value of the
commentrecord component
-