Interface OperationAggregator.InputValidator<T,R>

Enclosing class:
OperationAggregator<T,K,R>

public static interface OperationAggregator.InputValidator<T,R>
The InputValidator provides a way to validate input values before they get to execution. It has one function, validateEntry that takes one of the input values and returns NULL if the value is good, otherwise a response that represents the error.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns NULL if the value is valid, otherwise returns an error response value.
  • Method Details

    • validateEntry

      R validateEntry(T value)
      Returns NULL if the value is valid, otherwise returns an error response value.