|
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bmc.arsys.api.AlertMessageInfo
public class AlertMessageInfo
The AlertMessageInfo class is used to decode a formatted alert message and return its component parts,
for example, timestamp, source type, and so on.
| Constructor Summary | |
|---|---|
AlertMessageInfo()
Default constructor |
|
AlertMessageInfo(Timestamp time,
int type,
int prior,
String text,
String tag,
String svrName,
String form,
String id)
|
|
AlertMessageInfo(Timestamp time,
int type,
int prior,
String text,
String tag,
String svrName,
String svrAddr,
String form,
String id)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
String |
getAlertText()
Returns the text of the alert. |
String |
getFormName()
For AR System, returns the name of the form where the alert was generated from. |
String |
getObjectId()
Returns ID of the object of the alert. |
int |
getPriority()
Returns the priority of the alert, for informational purposes only. |
String |
getServerAddr()
Returns the IP address of the server where the alert was generated from. |
String |
getServerName()
Returns the name of the server where the alert was generated from. |
String |
getSourceTag()
Returns a string identifying the source of the alert. |
int |
getSourceType()
Returns value identifying the source of the alert. |
Timestamp |
getTimestamp()
Returns the timestamp when the alert was created. |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
String |
toString()
Returns a string description of the object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AlertMessageInfo()
public AlertMessageInfo(Timestamp time,
int type,
int prior,
String text,
String tag,
String svrName,
String form,
String id)
public AlertMessageInfo(Timestamp time,
int type,
int prior,
String text,
String tag,
String svrName,
String svrAddr,
String form,
String id)
| Method Detail |
|---|
public Timestamp getTimestamp()
public int getSourceType()
sourceType returned,
specify NULL for this parameter. Possible values are:
public int getPriority()
NULL for this parameter.
public String getAlertText()
alertText returned, specify
NULL for this parameter.
public String getSourceTag()
sourceTag returned,
specify NULL for this parameter.
public String getServerName()
serverName returned, specify NULL for this parameter.
public String getServerAddr()
serverAddr returned, specify NULL for this parameter.
public String getFormName()
formName returned, specify
NULL for this parameter.
public String getObjectId()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - the object that we are comparing to
|
AR System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||