Class QuotaValidator

java.lang.Object
com.yahoo.vespa.model.application.validation.QuotaValidator
All Implemented Interfaces:
Validator

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

    • QuotaValidator

      public QuotaValidator()
  • Method Details

    • validate

      public void validate(Validation.Context context)
      Description copied from interface: Validator
      Validates the input Vespa model; illegal configuration should be reported through the context, while other problems (system error, insufficient quota, etc.) should be thrown.
      Specified by:
      validate in interface Validator