public class AlertConfigurationDefinition
extends java.lang.Object
ServerAdmin
Modifier and Type | Class and Description |
---|---|
static class |
AlertConfigurationDefinition.Function |
static class |
AlertConfigurationDefinition.Severity |
Constructor and Description |
---|
AlertConfigurationDefinition(java.lang.Long id,
java.lang.String description,
java.lang.String stream,
AlertConfigurationDefinition.Severity severity,
AlertConfigurationDefinition.Function function,
java.lang.Double minThreshold,
java.lang.Double maxThreshold,
java.lang.Integer hitCount,
java.lang.Long withPeriod,
java.util.List actions)
Constructs a non-event alert configuration definition
|
AlertConfigurationDefinition(java.lang.Long id,
java.lang.String description,
java.lang.String stream,
java.lang.String event,
java.lang.String secondEvent,
AlertConfigurationDefinition.Severity severity,
AlertConfigurationDefinition.Function function,
java.lang.Double minThreshold,
java.lang.Double maxThreshold,
java.lang.Integer hitCount,
java.lang.Long withPeriod,
java.util.List actions)
Constructs an event stream based alert configuration definition
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getActions() |
java.lang.String |
getDescription() |
java.lang.String |
getEvent() |
AlertConfigurationDefinition.Function |
getFunction() |
java.lang.Integer |
getHitCount() |
java.lang.Long |
getId() |
java.lang.Double |
getMaxThreshold() |
java.lang.Double |
getMinThreshold() |
java.lang.String |
getSecondEvent() |
AlertConfigurationDefinition.Severity |
getSeverity() |
java.lang.String |
getStream() |
java.lang.Long |
getWithPeriod() |
public AlertConfigurationDefinition(java.lang.Long id, java.lang.String description, java.lang.String stream, AlertConfigurationDefinition.Severity severity, AlertConfigurationDefinition.Function function, java.lang.Double minThreshold, java.lang.Double maxThreshold, java.lang.Integer hitCount, java.lang.Long withPeriod, java.util.List 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(java.lang.Long id, java.lang.String description, java.lang.String stream, java.lang.String event, java.lang.String secondEvent, AlertConfigurationDefinition.Severity severity, AlertConfigurationDefinition.Function function, java.lang.Double minThreshold, java.lang.Double maxThreshold, java.lang.Integer hitCount, java.lang.Long withPeriod, java.util.List 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 java.lang.String getDescription()
public java.lang.String getStream()
public java.lang.Long getId()
public java.lang.String getEvent()
public java.lang.String getSecondEvent()
public AlertConfigurationDefinition.Severity getSeverity()
public AlertConfigurationDefinition.Function getFunction()
public java.lang.Double getMinThreshold()
public java.lang.Double getMaxThreshold()
public java.lang.Integer getHitCount()
public java.lang.Long getWithPeriod()
public java.util.List getActions()