@Component
public class GitHubCollectorTask
extends com.capitalone.dashboard.collector.CollectorTask<com.capitalone.dashboard.model.GitHubCollector>
| Constructor and Description |
|---|
GitHubCollectorTask(org.springframework.scheduling.TaskScheduler taskScheduler,
com.capitalone.dashboard.repository.BaseCollectorRepository<com.capitalone.dashboard.model.GitHubCollector> collectorRepository,
GitHubRepoRepository gitHubRepoRepository,
com.capitalone.dashboard.repository.CommitRepository commitRepository,
com.capitalone.dashboard.repository.GitRequestRepository gitRequestRepository,
GitHubClient gitHubClient,
GitHubSettings gitHubSettings,
com.capitalone.dashboard.repository.ComponentRepository dbComponentRepository,
com.capitalone.dashboard.repository.CollectorItemMetadataRepository collectorItemMetadataRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(com.capitalone.dashboard.model.GitHubCollector collector) |
void |
collectProcess(com.capitalone.dashboard.model.Collector collector,
List<com.capitalone.dashboard.model.webhook.github.GitHubRepo> reposToCollect) |
com.capitalone.dashboard.model.GitHubCollector |
getCollector() |
com.capitalone.dashboard.repository.BaseCollectorRepository<com.capitalone.dashboard.model.GitHubCollector> |
getCollectorRepository() |
String |
getCron() |
Set<com.capitalone.dashboard.model.webhook.github.GitHubRepo> |
reposToCollect(com.capitalone.dashboard.model.GitHubCollector collector,
List<com.capitalone.dashboard.model.webhook.github.GitHubRepo> enabledRepos,
ChangeRepoResponse changeRepoResponse) |
@Autowired
public GitHubCollectorTask(org.springframework.scheduling.TaskScheduler taskScheduler,
com.capitalone.dashboard.repository.BaseCollectorRepository<com.capitalone.dashboard.model.GitHubCollector> collectorRepository,
GitHubRepoRepository gitHubRepoRepository,
com.capitalone.dashboard.repository.CommitRepository commitRepository,
com.capitalone.dashboard.repository.GitRequestRepository gitRequestRepository,
GitHubClient gitHubClient,
GitHubSettings gitHubSettings,
com.capitalone.dashboard.repository.ComponentRepository dbComponentRepository,
com.capitalone.dashboard.repository.CollectorItemMetadataRepository collectorItemMetadataRepository)
public com.capitalone.dashboard.model.GitHubCollector getCollector()
getCollector in class com.capitalone.dashboard.collector.CollectorTask<com.capitalone.dashboard.model.GitHubCollector>public com.capitalone.dashboard.repository.BaseCollectorRepository<com.capitalone.dashboard.model.GitHubCollector> getCollectorRepository()
getCollectorRepository in class com.capitalone.dashboard.collector.CollectorTask<com.capitalone.dashboard.model.GitHubCollector>public String getCron()
getCron in class com.capitalone.dashboard.collector.CollectorTask<com.capitalone.dashboard.model.GitHubCollector>public void collect(com.capitalone.dashboard.model.GitHubCollector collector)
collect in class com.capitalone.dashboard.collector.CollectorTask<com.capitalone.dashboard.model.GitHubCollector>public Set<com.capitalone.dashboard.model.webhook.github.GitHubRepo> reposToCollect(com.capitalone.dashboard.model.GitHubCollector collector, List<com.capitalone.dashboard.model.webhook.github.GitHubRepo> enabledRepos, ChangeRepoResponse changeRepoResponse)
public void collectProcess(com.capitalone.dashboard.model.Collector collector,
List<com.capitalone.dashboard.model.webhook.github.GitHubRepo> reposToCollect)
Copyright © 2021 Hygieia. All rights reserved.