Uses of Enum Class
com.nnamo.enums.RealtimeMetricType
Packages that use RealtimeMetricType
Package
Description
-
Uses of RealtimeMetricType in com.nnamo.enums
Methods in com.nnamo.enums that return RealtimeMetricTypeModifier and TypeMethodDescriptionstatic RealtimeMetricType
Returns the enum constant of this class with the specified name.static RealtimeMetricType[]
RealtimeMetricType.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of RealtimeMetricType in com.nnamo.models
Methods in com.nnamo.models that return RealtimeMetricTypeConstructors in com.nnamo.models with parameters of type RealtimeMetricTypeModifierConstructorDescriptionRealtimeMetricModel
(RealtimeMetricType type, int value, LocalDateTime createdAt) Constructs a RealtimeMetricModel with the specified type, value, and creation time. -
Uses of RealtimeMetricType in com.nnamo.services
Methods in com.nnamo.services that return types with arguments of type RealtimeMetricTypeModifier and TypeMethodDescriptionDatabaseService.getAllMetrics()
Get all realtime metrics grouped by typeMethods in com.nnamo.services with parameters of type RealtimeMetricTypeModifier and TypeMethodDescriptionDatabaseService.getMetrics
(RealtimeMetricType type) Get metrics of a specific typevoid
DatabaseService.saveMetric
(RealtimeMetricType type, int value) Save a realtime metric to the database -
Uses of RealtimeMetricType in com.nnamo.view.customcomponents.statistic
Methods in com.nnamo.view.customcomponents.statistic that return RealtimeMetricTypeModifier and TypeMethodDescriptionStatisticDetourBus.getMetricType()
StatisticEarlyBus.getMetricType()
StatisticLateBus.getMetricType()
StatisticPunctualBus.getMetricType()
StatisticStoppedBus.getMetricType()
StatisticTotalBus.getMetricType()
abstract RealtimeMetricType
StatisticUnit.getMetricType()
Methods in com.nnamo.view.customcomponents.statistic with parameters of type RealtimeMetricTypeModifier and TypeMethodDescriptionvoid
MetricCollector.onProducedMetric
(RealtimeMetricType type, int value) void
StatisticUpdateListener.onStatisticUpdated
(RealtimeMetricType type, int value) -
Uses of RealtimeMetricType in com.nnamo.view.custompanels
Method parameters in com.nnamo.view.custompanels with type arguments of type RealtimeMetricTypeModifier and TypeMethodDescriptionvoid
LeftPanel.setupStatisticsPanel
(RealtimeGtfsService realtimeService, Map<RealtimeMetricType, List<RealtimeMetricModel>> metricsMap, MetricCollector collector) Sets up the statistics panel with the provided realtime service and database service.void
StatisticsPanel.updateView
(Map<RealtimeMetricType, List<RealtimeMetricModel>> metricsMap) Sets up the data for all statistic tiles and initializes theJFreeChart
chart with historical data. -
Uses of RealtimeMetricType in com.nnamo.view.frame
Method parameters in com.nnamo.view.frame with type arguments of type RealtimeMetricTypeModifier and TypeMethodDescriptionvoid
MainFrame.setupStatisticsPanel
(RealtimeGtfsService realtimeService, Map<RealtimeMetricType, List<RealtimeMetricModel>> metricsMap, MetricCollector collector) Sets up the statistics panel in the left panel with the provided services.