java.lang.Object
com.intellij.internal.statistic.eventLog.validator.rules.PerformanceCareRule
All Implemented Interfaces:
FUSRule
Direct Known Subclasses:
EnumValidationRule, ExpressionValidationRule

public abstract class PerformanceCareRule extends Object implements FUSRule
  • Constructor Details

    • PerformanceCareRule

      public PerformanceCareRule()
  • Method Details

    • validate

      @NotNull public final @NotNull ValidationResultType validate(@NotNull @NotNull String data, @NotNull @NotNull EventContext context)
      Description copied from interface: FUSRule

      Validates event id and event data before recording it locally. Used to ensure that no personal or proprietary data is recorded.

      Specified by:
      validate in interface FUSRule
      Parameters:
      data - what is validated. Event id or the value of event data field.
      context - whole event context, i.e. both event id and event data.
    • doValidate

      @NotNull protected abstract @NotNull ValidationResultType doValidate(@NotNull @NotNull String data, @NotNull @NotNull EventContext context)

      Validates event id and event data before recording it locally. Used to ensure that no personal or proprietary data is recorded.

      Parameters:
      data - what is validated. Event id or the value of event data field.
      context - whole event context, i.e. both event id and event data.