Class Validator

    • Constructor Detail

      • Validator

        public Validator()
    • Method Detail

      • validate

        public abstract boolean validate()
      • validate

        protected boolean validate​(boolean performVaidation)
        This validate method gives us flexibility to bypass a validation from set of validation that we need to perform. For example we may skip RespectBinding Validation if this flag is set to false. performVaidation = false - Means validation can be bypassed. performVaidation = true - Means validation cannot be bypassed.
        Parameters:
        performVaidation - - When performVaidation is false we will bypass validation
        Returns: