All Known Subinterfaces:
FUSRegexpAwareRule, UtilValidationRule
All Known Implementing Classes:
EnumValidationRule, ExpressionValidationRule, PerformanceCareRule

public interface FUSRule
Used to validate events before recording it locally.
  • Field Details

    • EMPTY_ARRAY

      static final FUSRule[] EMPTY_ARRAY
    • TRUE

      static final FUSRule TRUE
    • FALSE

      static final FUSRule FALSE
  • Method Details

    • validate

      @NotNull @NotNull ValidationResultType validate(@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.