Interface IValidatorContainer

All Known Implementing Classes:
ValidatorContainer

public interface IValidatorContainer
Author:
Serhiy_Zahriychuk
  • Method Details

    • putNewValidator

      void putNewValidator(ValidatorType type, IValidator validator)
    • getValidator

      IValidator getValidator(ValidatorType type)
      Gets the validator by validator type.
      Parameters:
      type - the type of validator
    • getValidatorsWithOutInputs

      List<IValidator> getValidatorsWithOutInputs(List<ValidatorType> validatorTypes)
      Gets the validators with specific types.
      Parameters:
      validatorTypes - the types of validator
    • getValidatorsWithOutMessageType

      List<IValidator> getValidatorsWithOutMessageType()
      Gets the validators. The result is not contain MESSAGE_TYPE validator.
    • getAllValidators

      List<IValidator> getAllValidators()
      Gets validators.
      Returns:
      the list of validator
    • getMessageTypeValidator

      IValidator getMessageTypeValidator()
      Gets validators.
      Returns:
      the list of validator
    • getValidatorType

      Set<ValidatorType> getValidatorType()
      Gets the list of type validator.
      Returns:
      the list of validator
    • putOtherValidators

      void putOtherValidators(IValidatorContainer container)
      Appends the validators from container container into current instance.