Class CompositeStatisticsManager

java.lang.Object
com.e1c.langtool.internal.stat.CompositeStatisticsManager
All Implemented Interfaces:
StatisticsManager

public class CompositeStatisticsManager extends Object implements StatisticsManager
  • Constructor Details

    • CompositeStatisticsManager

      public CompositeStatisticsManager(org.eclipse.core.resources.IProject project, ProjectMetricStorage storage, StatisticsService statisticsService, ITranslatingProjectManager translatingProjectManager, ITranslationStorageManager storageManager, AsyncRecomputer recomputer, IExporterRegistry exporterRegistry)
      Constructs a new composite statistics manager for aggregating and managing project statistics. It integrates various services and managers to provide cohesive statistics management.
      Parameters:
      project - Project for which to manage statistics, cannot be null.
      storage - Storage for project metrics, cannot be null.
      statisticsService - Service for statistical data calculation and retrieval, cannot be null.
      translatingProjectManager - Manager for project translations, cannot be null.
      storageManager - Manager for translation data storage, cannot be null.
      recomputer - Asynchronous recomputer for statistics, cannot be null.
      exporterRegistry - Registry of data exporters, cannot be null. Initializes a translation reader from the storage manager and registers a storage listener to it, ensuring statistics update with translation changes.
  • Method Details