Class AlertAction

  • All Implemented Interfaces:
    org.elasticsearch.common.xcontent.ToXContent

    public class AlertAction
    extends ActionInvoker
    • Field Detail

      • throttlePeriod

        protected final com.floragunn.searchsupport.util.duration.DurationExpression throttlePeriod
    • Method Detail

      • getThrottlePeriod

        public com.floragunn.searchsupport.util.duration.DurationExpression getThrottlePeriod()
      • toXContent

        public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder,
                                                                            org.elasticsearch.common.xcontent.ToXContent.Params params)
                                                                     throws IOException
        Throws:
        IOException
      • create

        public static AlertAction create​(WatchInitializationService watchInitService,
                                         com.fasterxml.jackson.databind.node.ObjectNode jsonObject,
                                         SeverityMapping severityMapping)
                                  throws com.floragunn.searchsupport.jobs.config.validation.ConfigValidationException
        Throws:
        com.floragunn.searchsupport.jobs.config.validation.ConfigValidationException
      • createFromArray

        public static List<AlertAction> createFromArray​(WatchInitializationService ctx,
                                                        com.fasterxml.jackson.databind.node.ArrayNode arrayNode,
                                                        SeverityMapping severityMapping)
                                                 throws com.floragunn.searchsupport.jobs.config.validation.ConfigValidationException
        Throws:
        com.floragunn.searchsupport.jobs.config.validation.ConfigValidationException