public class AlertConfigurationDefinition extends Object
ServerAdmin
Modifier and Type | Class and Description |
---|---|
static class |
AlertConfigurationDefinition.Function |
static class |
AlertConfigurationDefinition.Severity |
Constructor and Description |
---|
AlertConfigurationDefinition(Long id,
String description,
String stream,
AlertConfigurationDefinition.Severity severity,
AlertConfigurationDefinition.Function function,
Double minThreshold,
Double maxThreshold,
Integer hitCount,
Long withPeriod,
List<AlertActionDefinition> actions)
Constructs a non-event alert configuration definition
|
AlertConfigurationDefinition(Long id,
String description,
String stream,
String event,
String secondEvent,
AlertConfigurationDefinition.Severity severity,
AlertConfigurationDefinition.Function function,
Double minThreshold,
Double maxThreshold,
Integer hitCount,
Long withPeriod,
List<AlertActionDefinition> actions)
Constructs an event stream based alert configuration definition
|
Modifier and Type | Method and Description |
---|---|
List<AlertActionDefinition> |
getActions() |
String |
getDescription() |
String |
getEvent() |
AlertConfigurationDefinition.Function |
getFunction() |
Integer |
getHitCount() |
Long |
getId() |
Double |
getMaxThreshold() |
Double |
getMinThreshold() |
String |
getSecondEvent() |
AlertConfigurationDefinition.Severity |
getSeverity() |
String |
getStream() |
Long |
getWithPeriod() |
public AlertConfigurationDefinition(Long id, String description, String stream, AlertConfigurationDefinition.Severity severity, AlertConfigurationDefinition.Function function, Double minThreshold, Double maxThreshold, Integer hitCount, Long withPeriod, List<AlertActionDefinition> actions)
id
- the identifier of the alert configuration definitiondescription
- the description of the alert configuration definitionstream
- the stream to which this alert configuration belongs toseverity
- the severity of the alerts raised by this configurationfunction
- the alert configuration function over which the given criteria is evaluatedminThreshold
- the min threshold of the alert configuration criteriamaxThreshold
- the max threshold of the alert configuration criteriahitCount
- the hit count of the alert configuration criteriawithPeriod
- the time period of the alert configuration criteriaactions
- the set of actions to be invoked if the alert is raisedpublic AlertConfigurationDefinition(Long id, String description, String stream, String event, String secondEvent, AlertConfigurationDefinition.Severity severity, AlertConfigurationDefinition.Function function, Double minThreshold, Double maxThreshold, Integer hitCount, Long withPeriod, List<AlertActionDefinition> actions)
id
- the identifier of the alert configuration definitiondescription
- the description of the alert configuration definitionstream
- the stream to which this alert configuration belongs toevent
- the event to which this alert configuration is applied tosecondEvent
- the second event to diff in the case of function being DIFFseverity
- the severity of the alerts raised by this configurationfunction
- the alert configuration function over which the given criteria is evaluatedminThreshold
- the min threshold of the alert configuration criteriamaxThreshold
- the max threshold of the alert configuration criteriahitCount
- the hit count of the alert configuration criteriawithPeriod
- the time period of the alert configuration criteriaactions
- the set of actions to be invoked if the alert is raisedpublic String getDescription()
public String getStream()
public Long getId()
public String getEvent()
public String getSecondEvent()
public AlertConfigurationDefinition.Severity getSeverity()
public AlertConfigurationDefinition.Function getFunction()
public Double getMinThreshold()
public Double getMaxThreshold()
public Integer getHitCount()
public Long getWithPeriod()
public List<AlertActionDefinition> getActions()
Copyright © 2010–2016 AdroitLogic. All rights reserved.