public class BrowserAlertCondition extends AlertCondition
Modifier and Type | Class and Description |
---|---|
static class |
BrowserAlertCondition.Builder
Builder to make alert condition construction easier.
|
static class |
BrowserAlertCondition.Metric
Represents the metric types for this condition type.
|
AlertCondition.ConditionScope, AlertCondition.ConditionType, AlertCondition.ViolationCloseTimerInterval
Modifier and Type | Field and Description |
---|---|
static AlertCondition.ConditionType |
TYPE
The type of the alert condition.
|
Constructor and Description |
---|
BrowserAlertCondition()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static BrowserAlertCondition.Builder |
builder()
Returns a builder for the alert condition.
|
void |
setMetric(BrowserAlertCondition.Metric metric)
Sets the metric of the alert condition.
|
String |
toString()
Returns a string representation of the object.
|
getConditionScope, getGcMetric, getType, getUserDefined, getViolationCloseTimer, setConditionScope, setConditionScope, setGcMetric, setType, setUserDefined, setViolationCloseTimer, setViolationCloseTimer
addEntity, getEntities, getEntitiesArray, getMetric, setEntities, setMetric
addTerm, getTerms, setTerms
getEnabled, getRunbookUrl, setEnabled, setRunbookUrl
getName, setName
getId, setId
public static final AlertCondition.ConditionType TYPE
public void setMetric(BrowserAlertCondition.Metric metric)
metric
- The metric of the alert conditionpublic String toString()
toString
in class AlertCondition
public static BrowserAlertCondition.Builder builder()
Copyright © 2018. All rights reserved.