Interface BulkValidator<T>

All Known Implementing Classes:
BulkJiraPermissionValidator

public interface BulkValidator<T>
Performs validation of a list of BulkValidationParameters of a certain type.
  • Method Details

    • getType

      Returns:
      the type of parameters this validator can validate.
    • validate

      void validate(TenantActor tenantActor, RemoteConnectUser user, com.codebarrel.automation.api.config.RuleConfigBean rule, List<BulkValidationParameter<T>> parameters, ErrorCollection errors)
      Performs bulk validation of the given parameters.
      Parameters:
      tenantActor - The actor user of the rule
      user - The user publishing the rule in the UI
      rule - The rule being validated
      parameters - The parameters to validate
      errors - Any errors should be appended to this collection
      Throws:
      IllegalArgumentException - if parameters of a different type than getType() are provided