Class PasswordPolicyStatisticsCollector
java.lang.Object
com.atlassian.crowd.embedded.analytics.collector.PasswordPolicyStatisticsCollector
- All Implemented Interfaces:
StatisticsCollector<PasswordPolicyConfigurationAnalyticsEventBase>
public abstract class PasswordPolicyStatisticsCollector
extends Object
implements StatisticsCollector<PasswordPolicyConfigurationAnalyticsEventBase>
Collector for Password Policy Analytics Events
- Since:
- 5.3.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PasswordPolicyStatisticsCollector
(CrowdDirectoryService crowdDirectoryService, DirectoryManager directoryManager) -
Method Summary
Modifier and TypeMethodDescriptioncollect()
protected abstract PasswordPolicyConfigurationAnalyticsEventBase
produceEvent
(Directory directory, PasswordPolicyConfiguration configuration) Create an event that can be emitted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.crowd.common.analytics.statistics.collectors.StatisticsCollector
isPerNodeCollector
-
Constructor Details
-
PasswordPolicyStatisticsCollector
protected PasswordPolicyStatisticsCollector(CrowdDirectoryService crowdDirectoryService, DirectoryManager directoryManager)
-
-
Method Details
-
produceEvent
protected abstract PasswordPolicyConfigurationAnalyticsEventBase produceEvent(Directory directory, @Nullable PasswordPolicyConfiguration configuration) Create an event that can be emitted.- Parameters:
directory
- the directoryconfiguration
- the password policy configuration- Returns:
- a PasswordPolicyAnalyticsEvent
-
collect
- Specified by:
collect
in interfaceStatisticsCollector<PasswordPolicyConfigurationAnalyticsEventBase>
- Returns:
- the statistics event to publish
-