Search in sources :

Example 1 with IssueDownloaderImpl

use of org.sonarsource.sonarlint.core.container.connected.update.IssueDownloaderImpl in project sonarlint-core by SonarSource.

the class PartialUpdater method create.

public static PartialUpdater create(StorageReader storageReader, StoragePaths storagePaths, ServerConfiguration serverConfig, IssueStoreReader issueStoreReader) {
    SonarLintWsClient client = new SonarLintWsClient(serverConfig);
    IssueStoreFactory issueStoreFactory = new IssueStoreFactory();
    IssueDownloader downloader = new IssueDownloaderImpl(client);
    ModuleListDownloader moduleListDownloader = new ModuleListDownloader(client);
    return new PartialUpdater(issueStoreFactory, downloader, storageReader, storagePaths, issueStoreReader, moduleListDownloader);
}
Also used : IssueDownloader(org.sonarsource.sonarlint.core.container.connected.update.IssueDownloader) IssueDownloaderImpl(org.sonarsource.sonarlint.core.container.connected.update.IssueDownloaderImpl) ModuleListDownloader(org.sonarsource.sonarlint.core.container.connected.update.ModuleListDownloader) IssueStoreFactory(org.sonarsource.sonarlint.core.container.connected.IssueStoreFactory) SonarLintWsClient(org.sonarsource.sonarlint.core.container.connected.SonarLintWsClient)

Aggregations

IssueStoreFactory (org.sonarsource.sonarlint.core.container.connected.IssueStoreFactory)1 SonarLintWsClient (org.sonarsource.sonarlint.core.container.connected.SonarLintWsClient)1 IssueDownloader (org.sonarsource.sonarlint.core.container.connected.update.IssueDownloader)1 IssueDownloaderImpl (org.sonarsource.sonarlint.core.container.connected.update.IssueDownloaderImpl)1 ModuleListDownloader (org.sonarsource.sonarlint.core.container.connected.update.ModuleListDownloader)1