Record Class DashboardView
java.lang.Object
java.lang.Record
com.arc_e_tect.gradle.trackerlens.dashboard.DashboardView
- Record Components:
trackers- the trackers to render, in registration orderlenses- every discovered lens, merged and auto-namespaced bycom.arc_e_tect.gradle.trackerlens.lens.LensResolverdefaultLensId- the lens id active on first load
public record DashboardView(List<TrackerView> trackers, List<ResolvedLens> lenses, String defaultLensId)
extends Record
Everything
DashboardHtmlWriter needs to render dashboard.html and one CSS file
per lens.-
Constructor Summary
ConstructorsConstructorDescriptionDashboardView(List<TrackerView> trackers, List<ResolvedLens> lenses, String defaultLensId) Creates an instance of aDashboardViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefaultLensIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lenses()Returns the value of thelensesrecord component.final StringtoString()Returns a string representation of this record class.trackers()Returns the value of thetrackersrecord component.
-
Constructor Details
-
DashboardView
Creates an instance of aDashboardViewrecord class.- Parameters:
trackers- the value for thetrackersrecord componentlenses- the value for thelensesrecord componentdefaultLensId- the value for thedefaultLensIdrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
trackers
Returns the value of thetrackersrecord component.- Returns:
- the value of the
trackersrecord component
-
lenses
Returns the value of thelensesrecord component.- Returns:
- the value of the
lensesrecord component
-
defaultLensId
Returns the value of thedefaultLensIdrecord component.- Returns:
- the value of the
defaultLensIdrecord component
-