Class Validation


  • public class Validation
    extends java.lang.Object
    Executor of validators. This defines the right order of validator execution.
    Author:
    hmusum
    • Constructor Summary

      Constructors 
      Constructor Description
      Validation()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<com.yahoo.config.model.api.ConfigChangeAction> validate​(VespaModel model, com.yahoo.config.model.api.ValidationParameters validationParameters, DeployState deployState)
      Validates the model supplied, and if there already exists a model for the application validates changes between the previous and current model
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Validation

        public Validation()
    • Method Detail

      • validate

        public static java.util.List<com.yahoo.config.model.api.ConfigChangeAction> validate​(VespaModel model,
                                                                                             com.yahoo.config.model.api.ValidationParameters validationParameters,
                                                                                             DeployState deployState)
        Validates the model supplied, and if there already exists a model for the application validates changes between the previous and current model
        Returns:
        a list of required changes needed to make this configuration live