Class SecurityAlertBuilder

    • Constructor Detail

      • SecurityAlertBuilder

        public SecurityAlertBuilder​(java.lang.String name)
        Build a new Security alert for the specified alert name.

        Alert Level is read from property alert.name.security.{name}.level: info|action|warning, warning level is used as default if property is undefined.

        Parameters:
        name - the name of the alert (as found in alert properties alert.name.security.{name})
    • Method Detail

      • addParams

        protected void addParams​(Member recipient,
                                 java.util.Map<java.lang.String,​java.lang.String> paramMap,
                                 java.lang.String markup)
        Description copied from class: AlertBuilder
        This method is called to add parameters to the map used to format the properties.
        Overrides:
        addParams in class AlertBuilder
        Parameters:
        recipient - the recipient
        paramMap - the paramMap
        markup - the markup used (i.e. TEXT_MARKUP or HTML_MARKUP)
      • sendAlert

        public void sendAlert​(Member recipient)
        Description copied from class: AlertBuilder
        Sends the alert to the given recipient.
        Overrides:
        sendAlert in class AlertBuilder
        Parameters:
        recipient - the recipient