Class RepositoriesWithWebhookEventProducer
java.lang.Object
com.atlassian.bamboo.analytics.basedata.collector.generator.RepositoriesWithWebhookEventProducer
- All Implemented Interfaces:
StatisticsEventsProducer
public class RepositoriesWithWebhookEventProducer
extends Object
implements StatisticsEventsProducer
-
Constructor Summary
ConstructorDescriptionRepositoriesWithWebhookEventProducer
(CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VcsRepositoryManager vcsRepositoryManager) -
Method Summary
Modifier and TypeMethodDescription@Nullable Collection<BaseDataEvent>
void
Reset statistics, but don't generate events.
-
Constructor Details
-
RepositoriesWithWebhookEventProducer
@Inject public RepositoriesWithWebhookEventProducer(CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VcsRepositoryManager vcsRepositoryManager)
-
-
Method Details
-
generateEvents
- Specified by:
generateEvents
in interfaceStatisticsEventsProducer
- Returns:
- Analytic events with statistics.
-
resetStatistics
public void resetStatistics()Description copied from interface:StatisticsEventsProducer
Reset statistics, but don't generate events. Use when statistics have to be cleared when publishing analytics is disabled- Specified by:
resetStatistics
in interfaceStatisticsEventsProducer
-