public interface AlertRule
Modifier and Type | Method and Description |
---|---|
List<AlertRuleAction> |
getActions()
This gets the live list of actions, so you could remove or rearrange these, and the changes will be saved if you save the Alert.
|
QueryConfig |
getAlertQueryConfig()
Gets the value of the alertQueryConfig property.
|
Calendar |
getCreated()
Gets the value of the created property.
|
String |
getDescription()
Gets the value of the description property.
|
Long |
getId()
Gets the value of the id property.
|
Calendar |
getLastUpdated()
Gets the value of the lastUpdated property.
|
String |
getMessageTemplate()
Gets the value of the messageTemplate property.
|
String |
getName()
Gets the value of the name property.
|
String |
getOwner()
Gets the value of the owner property.
|
Integer |
getPersistedVersion()
Gets the value of the persistedVersion property.
|
Integer |
getQuiescence()
Gets the value of the quiescence property.
|
Integer |
getSeverity()
Gets the value of the severity property.
|
String |
getStatusMessage()
Gets the value of the statusMessage property.
|
boolean |
isEnabled()
Gets the value of the enabled property.
|
boolean |
isValid()
Gets the value of the status property.
|
ExecuteJavaAction |
newExecuteJavaAction()
Creates a new ExecuteJavaAction and adds it to the end of the list of Actions
|
ExecuteOSCommandAction |
newExecuteOSCommandAction()
Creates a new ExecuteOSCommandAction and adds it to the end of the list of Actions
|
IssueDeleteQueryAction |
newIssueDeleteQueryAction()
Creates a new IssueDeleteQueryAction and adds it to the end of the list of Actions
|
PublishAlertAction |
newPublishAlertAction()
Creates a new PublishAlertAction and adds it to the end of the list of Actions
|
SendEmailAction |
newSendEmailAction()
Creates a new SendEmailAction and adds it to the end of the list of Actions
|
SendTupleAction |
newSendTupleAction()
Creates a new SendTupleAction and adds it to the end of the list of Actions
|
void |
setAlertQueryConfig(QueryConfig queryConfig)
Sets the value of the alertQueryConfig property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEnabled(boolean value)
Sets the value of the enabled property.
|
void |
setIsValid(boolean isValid)
Sets the value of the status property.
|
void |
setMessageTemplate(String value)
Sets the value of the messageTemplate property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOwner(String value)
Sets the value of the owner property.
|
void |
setPersistedVersion(Integer value)
Sets the value of the persistedVersion property.
|
void |
setQuiescence(int value)
Sets the value of the quiescence property.
|
void |
setSeverity(int value)
Sets the value of the severity property.
|
void |
setStatusMessage(String value)
Sets the value of the statusMessage property.
|
String getStatusMessage()
String
void setStatusMessage(String value)
value
- allowed object is String
QueryConfig getAlertQueryConfig()
Query
void setAlertQueryConfig(QueryConfig queryConfig)
queryConfig
- allowed object is QueryConfig
String getDescription()
String
void setDescription(String value)
value
- allowed object is String
String getMessageTemplate()
String
void setMessageTemplate(String value)
value
- allowed object is String
void setName(String value)
value
- allowed object is String
Integer getSeverity()
Integer
void setSeverity(int value)
value
- allowed object is Integer
Integer getQuiescence()
void setQuiescence(int value)
value
- boolean isEnabled()
Boolean
void setEnabled(boolean value)
value
- allowed object is Boolean
String getOwner()
*
means "all users."String
void setOwner(String value)
*
means "all users."value
- allowed object is String
Calendar getCreated()
Calendar
Calendar getLastUpdated()
Calendar
boolean isValid()
void setIsValid(boolean isValid)
isValid
- allowed object is StatusType
Integer getPersistedVersion()
Integer
void setPersistedVersion(Integer value)
value
- allowed object is Integer
List<AlertRuleAction> getActions()
ExecuteJavaAction newExecuteJavaAction()
ExecuteOSCommandAction newExecuteOSCommandAction()
IssueDeleteQueryAction newIssueDeleteQueryAction()
PublishAlertAction newPublishAlertAction()
SendEmailAction newSendEmailAction()
SendTupleAction newSendTupleAction()