Class ResolveAction
- java.lang.Object
-
- com.floragunn.signals.watch.action.invokers.ActionInvoker
-
- com.floragunn.signals.watch.action.invokers.ResolveAction
-
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
- Direct Known Subclasses:
AutoResolveAction
public class ResolveAction extends ActionInvoker
-
-
Field Summary
Fields Modifier and Type Field Description protected SeverityLevel.SetresolvesSeverityLevels-
Fields inherited from class com.floragunn.signals.watch.action.invokers.ActionInvoker
checks, foreach, foreachLimit, handler, name
-
-
Constructor Summary
Constructors Constructor Description ResolveAction(String name, ActionHandler handler, SeverityLevel.Set resolvesSeverityLevels, List<Check> checks)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResolveActioncreate(WatchInitializationService watchInitService, com.fasterxml.jackson.databind.node.ObjectNode jsonObject, SeverityMapping severityMapping)static List<ResolveAction>createFromArray(WatchInitializationService ctx, com.fasterxml.jackson.databind.node.ArrayNode arrayNode, SeverityMapping severityMapping)SeverityLevel.SetgetResolvesSeverityLevels()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)-
Methods inherited from class com.floragunn.signals.watch.action.invokers.ActionInvoker
createNestedChecks, execute, getChecks, getForeach, getForeachLimit, getHandler, getName, toJson, toString
-
-
-
-
Field Detail
-
resolvesSeverityLevels
protected final SeverityLevel.Set resolvesSeverityLevels
-
-
Constructor Detail
-
ResolveAction
public ResolveAction(String name, ActionHandler handler, SeverityLevel.Set resolvesSeverityLevels, List<Check> checks)
-
-
Method Detail
-
getResolvesSeverityLevels
public SeverityLevel.Set getResolvesSeverityLevels()
-
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 ResolveAction 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<ResolveAction> 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
-
-