Class EventGroupRules
java.lang.Object
com.intellij.internal.statistic.eventLog.validator.rules.beans.EventGroupRules
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstatic @NotNull EventGroupRulescreate(@NotNull com.jetbrains.fus.reporting.model.metadata.EventGroupRemoteDescriptors.EventGroupRemoteDescriptor group, @NotNull com.intellij.internal.statistic.eventLog.validator.storage.GlobalRulesHolder globalRulesHolder, @NotNull ValidationSimpleRuleFactory factory, @NotNull List<String> excludedFields) FUSRule[]com.intellij.internal.statistic.eventLog.validator.rules.impl.beans.EventDataFieldvalidateEventData(@NotNull String key, @Nullable Object data, @NotNull EventContext context) validateEventId(@NotNull EventContext context)
-
Field Details
-
EMPTY
-
-
Method Details
-
getEventIdRules
-
getEventDataRules
-
areEventIdRulesDefined
public boolean areEventIdRulesDefined() -
areEventDataRulesDefined
public boolean areEventDataRulesDefined() -
validateEventId
-
validateEventData
public com.intellij.internal.statistic.eventLog.validator.rules.impl.beans.EventDataField validateEventData(@NotNull @NotNull String key, @Nullable @Nullable Object data, @NotNull @NotNull EventContext context) - Returns:
- validated data, incorrect values are replaced with
ValidationResultType.getDescription()
-
create
@NotNull public static @NotNull EventGroupRules create(@NotNull @NotNull com.jetbrains.fus.reporting.model.metadata.EventGroupRemoteDescriptors.EventGroupRemoteDescriptor group, @NotNull @NotNull com.intellij.internal.statistic.eventLog.validator.storage.GlobalRulesHolder globalRulesHolder, @NotNull @NotNull ValidationSimpleRuleFactory factory, @NotNull @NotNull List<String> excludedFields)
-