Package com.epam.fix.validation.engine
Interface IValidatorContainer
- All Known Implementing Classes:
ValidatorContainer
public interface IValidatorContainer
- Author:
- Serhiy_Zahriychuk
-
Method Summary
Modifier and TypeMethodDescriptionGets validators.Gets validators.getValidator
(ValidatorType type) Gets the validator by validator type.getValidatorsWithOutInputs
(List<ValidatorType> validatorTypes) Gets the validators with specific types.Gets the validators.Gets the list of type validator.void
putNewValidator
(ValidatorType type, IValidator validator) void
putOtherValidators
(IValidatorContainer container) Appends the validators fromcontainer
container into current instance.
-
Method Details
-
putNewValidator
-
getValidator
Gets the validator by validator type.- Parameters:
type
- the type of validator
-
getValidatorsWithOutInputs
Gets the validators with specific types.- Parameters:
validatorTypes
- the types of validator
-
getValidatorsWithOutMessageType
List<IValidator> getValidatorsWithOutMessageType()Gets the validators. The result is not containMESSAGE_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
Appends the validators fromcontainer
container into current instance.
-