Class EventGroupRules
-
- All Implemented Interfaces:
-
com.jetbrains.fus.reporting.api.IDataValidationRules,com.jetbrains.fus.reporting.api.IEventGroupRules
public final class EventGroupRules extends DataValidationRules implements IEventGroupRules
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEventGroupRules.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Map<String, Array<FUSRule>>eventDataRulespublic final static EventGroupRules.CompanionCompanion
-
Method Summary
Modifier and Type Method Description Array<FUSRule>getEventIdRules()BooleanareEventIdRulesDefined()ValidationResultTypevalidateEventId(IEventContext context)EventDataFieldvalidateEventData(String key, Object data, IEventContext context)final static EventGroupRulescreate(EventGroupRemoteDescriptors.EventGroupRemoteDescriptor group, GlobalRulesHolder globalRulesHolder, ValidationSimpleRuleFactory factory, List<String> excludedFields, DictionaryStorage dictionaryStorage)-
Methods inherited from class com.intellij.internal.statistic.eventLog.validator.rules.beans.EventGroupRules
getEventDataRules -
Methods inherited from class com.jetbrains.fus.reporting.api.IDataValidationRules
getEventDataRules, replaceRejectedValuesWithDefaultValues, validateData, validateRequiredFields -
Methods inherited from class com.intellij.internal.statistic.eventLog.validator.rules.beans.DataValidationRules
areEventDataRulesDefined -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getEventIdRules
Array<FUSRule> getEventIdRules()
-
areEventIdRulesDefined
Boolean areEventIdRulesDefined()
-
validateEventId
ValidationResultType validateEventId(IEventContext context)
-
validateEventData
EventDataField validateEventData(String key, Object data, IEventContext context)
-
create
final static EventGroupRules create(EventGroupRemoteDescriptors.EventGroupRemoteDescriptor group, GlobalRulesHolder globalRulesHolder, ValidationSimpleRuleFactory factory, List<String> excludedFields, DictionaryStorage dictionaryStorage)
-
-
-
-