Interface ConfigBeanBuilderValidator<CBB>

Type Parameters:
CBB - the config bean builder type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ConfigBeanBuilderValidator<CBB>
Validates a ConfigBean generated builder type instance bean the builder build() is called and the result is consumed.
  • Method Details

    • createValidationRound

      ConfigBeanBuilderValidator.ValidationRound createValidationRound(CBB builder, Class<CBB> configBeanBuilderType)
      Creates a validation round for all the config bean attributes of the provided config bean.
      Parameters:
      builder - the config builder instance
      configBeanBuilderType - the config bean type
      Returns:
      the validation round that can be used for attribute level validation