Class LoginByEmailCollector
java.lang.Object
com.atlassian.crowd.analytics.statistics.collectors.LoginByEmailCollector
- All Implemented Interfaces:
StatisticsCollector<LoginByEmailAddressAggregateAnalyticsEvent>
@Named
public class LoginByEmailCollector
extends Object
implements StatisticsCollector<LoginByEmailAddressAggregateAnalyticsEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollect()
Returns iterable containing statistics event which contains aggregated number of users who authenticated using their email instead of username, or empty iterable if no user authenticated using email.boolean
Determines whether StatisticsCollector should run on each node OR once per cluster.
-
Constructor Details
-
LoginByEmailCollector
-
-
Method Details
-
collect
Returns iterable containing statistics event which contains aggregated number of users who authenticated using their email instead of username, or empty iterable if no user authenticated using email.- Specified by:
collect
in interfaceStatisticsCollector<LoginByEmailAddressAggregateAnalyticsEvent>
- Returns:
- the statistics event to publish
-
isPerNodeCollector
public boolean isPerNodeCollector()Description copied from interface:StatisticsCollector
Determines whether StatisticsCollector should run on each node OR once per cluster.- Specified by:
isPerNodeCollector
in interfaceStatisticsCollector<LoginByEmailAddressAggregateAnalyticsEvent>
- Returns:
- true if StatisticsCollector should run on each node, false if once per cluster.
-