ValidationResultType (@NotNull String data, @NotNull EventContext context) { if (UNKNOWN.equals(data)) { return ValidationResultType.ACCEPTED; } if (NotificationGroupManager.getInstance().isRegisteredNotificationId(data)) { return ValidationResultType.ACCEPTED; } return ValidationResultType.REJECTED; }