Class AbstractNotificationConfigValidator


  • public abstract class AbstractNotificationConfigValidator
    extends java.lang.Object
    This class represents a validator for the INotificationConfig
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String validate​(java.util.Map<java.lang.String,​java.lang.Object> model)
      Validates the configuration
      • Methods inherited from class java.lang.Object

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

      • AbstractNotificationConfigValidator

        public AbstractNotificationConfigValidator​(javax.servlet.http.HttpServletRequest request)
        Constructor
        Parameters:
        request - the request used to validate the configuration
    • Method Detail

      • validate

        public final java.lang.String validate​(java.util.Map<java.lang.String,​java.lang.Object> model)
        Validates the configuration
        Parameters:
        model - the model used to vaidate the configuration
        Returns:
        the URL of the error page when there is a validation error, an empty String otherwise