Class ComponentValidator


  • public class ComponentValidator
    extends Validator
    A validator for bundles. Uses BND library for some of the validation (not active yet)
    Since:
    2010-11-11
    Author:
    hmusum
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void validate​(VespaModel model, DeployState deployState)
      Validates the input vespamodel
      void validateAll​(com.yahoo.config.application.api.DeployLogger deployLogger)  
      void validateOSGIHeaders​(com.yahoo.config.application.api.DeployLogger deployLogger)  
      • Methods inherited from class java.lang.Object

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

      • ComponentValidator

        public ComponentValidator()
      • ComponentValidator

        public ComponentValidator​(java.util.jar.JarFile jarFile)
    • 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
      • validateAll

        public void validateAll​(com.yahoo.config.application.api.DeployLogger deployLogger)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • validateOSGIHeaders

        public void validateOSGIHeaders​(com.yahoo.config.application.api.DeployLogger deployLogger)
                                 throws java.io.IOException
        Throws:
        java.io.IOException