Record Class HarCreatorBrowser
java.lang.Object
java.lang.Record
de.sstoehr.harreader.model.HarCreatorBrowser
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aHarCreatorBrowserrecord 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.name()Returns the value of thenamerecord component.voidsetAdditionalField(String key, Object value) final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
HarCreatorBrowser
public HarCreatorBrowser() -
HarCreatorBrowser
public HarCreatorBrowser(@Nullable String name, @Nullable String version, @Nullable String comment, @Nullable Map<String, Object> additional) Creates an instance of aHarCreatorBrowserrecord class.- Parameters:
name- the value for thenamerecord componentversion- the value for theversionrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
comment
Returns the value of thecommentrecord component.- Returns:
- the value of the
commentrecord component
-