|
7.0 Action Request System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.remedy.arsys.api.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,
java.lang.String text,
java.lang.String tag,
java.lang.String svrName,
java.lang.String form,
java.lang.String id)
|
|
AlertMessageInfo(Timestamp time,
int type,
int prior,
java.lang.String text,
java.lang.String tag,
java.lang.String svrName,
java.lang.String svrAddr,
java.lang.String form,
java.lang.String id)
|
Method Summary | |
java.lang.String |
getAlertText()
Returns the text of the alert. |
java.lang.String |
getFormName()
For AR System, returns the name of the form where the alert was generated from. |
java.lang.String |
getObjectId()
Returns ID of the object of the alert. |
int |
getPriority()
Returns the priority of the alert, for informational purposes only. |
java.lang.String |
getServerAddr()
Returns the IP address of the server where the alert was generated from. |
java.lang.String |
getServerName()
Returns the name of the server where the alert was generated from. |
java.lang.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AlertMessageInfo()
public AlertMessageInfo(Timestamp time, int type, int prior, java.lang.String text, java.lang.String tag, java.lang.String svrName, java.lang.String form, java.lang.String id)
public AlertMessageInfo(Timestamp time, int type, int prior, java.lang.String text, java.lang.String tag, java.lang.String svrName, java.lang.String svrAddr, java.lang.String form, java.lang.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 java.lang.String getAlertText()
alertText
returned,
specify NULL
for this parameter.
public java.lang.String getSourceTag()
sourceTag
returned,
specify NULL
for this parameter.
public java.lang.String getServerName()
serverName
returned,
specify NULL
for this parameter.
public java.lang.String getServerAddr()
serverAddr
returned,
specify NULL
for this parameter.
public java.lang.String getFormName()
formName
returned,
specify NULL
for this parameter.
public java.lang.String getObjectId()
|
7.0 Action Request System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |