public class InfraProcessRunningAlertCondition extends InfraAlertCondition
Modifier and Type | Class and Description |
---|---|
static class |
InfraProcessRunningAlertCondition.Builder
Builder to make alert condition construction easier.
|
InfraAlertCondition.ConditionType
Modifier and Type | Field and Description |
---|---|
static InfraAlertCondition.ConditionType |
TYPE
The type of the alert condition.
|
Constructor and Description |
---|
InfraProcessRunningAlertCondition()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static InfraProcessRunningAlertCondition.Builder |
builder()
Returns a builder for the alert condition.
|
String |
getComparison()
Returns the comparison of the alert condition.
|
String |
getProcessWhereClause()
Returns the process where clause of the alert condition.
|
void |
setComparison(Operator comparison)
Sets the comparison of the alert condition.
|
void |
setComparison(String comparison)
Sets the comparison of the alert condition.
|
void |
setProcessWhereClause(String processWhereClause)
Sets the process where clause of the alert condition.
|
String |
toString()
Returns a string representation of the object.
|
getCreatedAtEpochMillis, getCriticalThreshold, getFilter, getPolicyId, getType, getUpdatedAtEpochMillis, getWarningThreshold, getWhereClause, setCriticalThreshold, setFilter, setPolicyId, setType, setWarningThreshold, setWhereClause
getEnabled, getRunbookUrl, setEnabled, setRunbookUrl
getName, setName
getId, setId
public static final InfraAlertCondition.ConditionType TYPE
public InfraProcessRunningAlertCondition()
public void setComparison(String comparison)
comparison
- The comparison of the alert conditionpublic void setComparison(Operator comparison)
comparison
- The comparison of the alert conditionpublic String getComparison()
public void setProcessWhereClause(String processWhereClause)
processWhereClause
- The process where clause of the alert conditionpublic String getProcessWhereClause()
public String toString()
toString
in class InfraAlertCondition
public static InfraProcessRunningAlertCondition.Builder builder()
Copyright © 2018. All rights reserved.