java.lang.Object
com.intellij.internal.statistic.eventLog.validator.rules.beans.EventGroupRules

public final class EventGroupRules extends Object
  • Field Details

  • Method Details

    • getEventIdRules

      public FUSRule[] getEventIdRules()
    • getEventDataRules

      public Map<String,FUSRule[]> getEventDataRules()
    • areEventIdRulesDefined

      public boolean areEventIdRulesDefined()
    • areEventDataRulesDefined

      public boolean areEventDataRulesDefined()
    • validateEventId

      public ValidationResultType validateEventId(@NotNull @NotNull EventContext context)
    • 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)