public interface AlertRule
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
AlertRule.Type
Gets the type of alert, currently 2 types are supported: Cron Alert and Query Alert 
 | 
| 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. 
 | 
AlertRule.Type | 
getAlertType()
Gets the value of alertType property. 
 | 
Calendar | 
getCreated()
Gets the value of the created property. 
 | 
String | 
getCronString()
Gets the value of the cronString property. 
 | 
String | 
getDescription()
Gets the value of the description property. 
 | 
String | 
getGUID()
Gets the value of the GUID 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 
 | 
LVPublishAlertAction | 
newLVPublishAlertAction()
Creates a new LVPublishAlertAction  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 | 
setAlertType(AlertRule.Type alertType)
Sets the value of alertTypeproperty. 
 | 
void | 
setCronString(String value)
Sets the value of the cronString property which is a cron expression. 
 | 
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()
Stringvoid setStatusMessage(String value)
value - allowed object is StringString getCronString()
void setCronString(String value)
Expressions Allowed Fields and Values 1) Seconds: 0-59 or Allowed special characters(, - * /) 2) Minutes: 0-59 or Allowed special characters(, - * /) 3) Hours: 0-23 or Allowed special characters(, - * /) 4) Day of month: 1-31 or Allowed special characters(, - * ? / L W C) 5) Month: 0-11 or JAN-DEC or Allowed special characters(, - * /) 6) Day of week: 1-7 or SUN-SAT or Allowed special characters(, - * ? / L C #) 7) Year: empty or 1970-2099 or Allowed special characters(, - * /) e.g: 0 15 10 * * ? 2005 Fire the alert at 10:15 AM every day during the year 2005
value - allowed object is Stringvoid setAlertType(AlertRule.Type alertType)
alertType - the AlertRule.Type for this AlertRuleAlertRule.Type getAlertType()
AlertRule.Type for this AlertRule.QueryConfig getAlertQueryConfig()
Queryvoid setAlertQueryConfig(QueryConfig queryConfig)
queryConfig - allowed object is QueryConfigString getDescription()
Stringvoid setDescription(String value)
value - allowed object is StringString getMessageTemplate()
Stringvoid setMessageTemplate(String value)
value - allowed object is Stringvoid setName(String value)
value - allowed object is StringInteger getSeverity()
Integervoid setSeverity(int value)
value - allowed object is IntegerInteger getQuiescence()
Integer value for the quiescence property.void setQuiescence(int value)
value - the value to set for the quiescence property.boolean isEnabled()
Boolean.void setEnabled(boolean value)
value - allowed object is BooleanString getOwner()
* means "all users."Stringvoid setOwner(String value)
* means "all users."
 Note that since 2.2.3, if authentication is enabled, the user provided value is ignored and replaced with 
 the currently authenticated user.value - allowed object is StringCalendar getCreated()
CalendarCalendar getLastUpdated()
CalendarString getGUID()
Stringboolean isValid()
void setIsValid(boolean isValid)
isValid - allowed object is StatusTypeInteger getPersistedVersion()
Integervoid setPersistedVersion(Integer value)
value - allowed object is IntegerList<AlertRuleAction> getActions()
ExecuteJavaAction newExecuteJavaAction()
ExecuteOSCommandAction newExecuteOSCommandAction()
IssueDeleteQueryAction newIssueDeleteQueryAction()
PublishAlertAction newPublishAlertAction()
SendEmailAction newSendEmailAction()
SendTupleAction newSendTupleAction()
LVPublishAlertAction newLVPublishAlertAction()
Copyright © 2015–2019 Cloud Software Group, Inc.. All rights reserved.