Package win.dailypickle.report.html
Record Class ReportConfig
java.lang.Object
java.lang.Record
win.dailypickle.report.html.ReportConfig
- Record Components:
tagLinkUrl- when non-null, scenario tags containing a-are rendered as links to this URL with the tag (minus its@) appended;nulldisables tag links.
-
Constructor Summary
ConstructorsConstructorDescriptionReportConfig(String title, Map<String, String> cssVariables, Map<String, String> metadata, String extraCss) ReportConfig(String title, Map<String, String> cssVariables, Map<String, String> metadata, String extraCss, String tagLinkUrl) Creates an instance of aReportConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecssVariablesrecord component.static ReportConfigdefaults()final booleanIndicates whether some other object is "equal to" this one.extraCss()Returns the value of theextraCssrecord component.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.Returns the value of thetagLinkUrlrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReportConfig
-
ReportConfig
public ReportConfig(String title, Map<String, String> cssVariables, Map<String, String> metadata, String extraCss, String tagLinkUrl) Creates an instance of aReportConfigrecord class.- Parameters:
title- the value for thetitlerecord componentcssVariables- the value for thecssVariablesrecord componentmetadata- the value for themetadatarecord componentextraCss- the value for theextraCssrecord componenttagLinkUrl- the value for thetagLinkUrlrecord component
-
-
Method Details
-
defaults
-
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). -
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
cssVariables
Returns the value of thecssVariablesrecord component.- Returns:
- the value of the
cssVariablesrecord component
-
metadata
Returns the value of themetadatarecord component.- Returns:
- the value of the
metadatarecord component
-
extraCss
Returns the value of theextraCssrecord component.- Returns:
- the value of the
extraCssrecord component
-
tagLinkUrl
Returns the value of thetagLinkUrlrecord component.- Returns:
- the value of the
tagLinkUrlrecord component
-