Class QuotaValidator


  • public class QuotaValidator
    extends Validator
    Checks that the generated model does not have resources that exceeds the given quota.
    Author:
    ogronnesby
    • Constructor Detail

      • QuotaValidator

        public QuotaValidator()
    • Method Detail

      • validate

        public void validate​(VespaModel model,
                             DeployState deployState)
        Description copied from class: Validator
        Validates the input vespamodel
        Specified by:
        validate in class Validator
        Parameters:
        model - a VespaModel object
        deployState - the DeployState built from building the model