All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.promoted.delivery.client.DeliveryRequestValidator Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package ai.promoted.delivery.client;

import java.util.List;

/**
 * Performs validation on delivery requests during a deliver call when performChecks is true in the client.
 */
public interface DeliveryRequestValidator {
  /**
   * Checks the state of this delivery requests and collects/returns any validation errors.
   * @param request the delivery request to validate 
   *
   * @return a list of validation errors, which may be empty.
   */
  List validate(DeliveryRequest request);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy