|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILogMessage
Contains the base-level information that can be sent in a message to the log.
| Method Summary | |
|---|---|
int |
getEvent()
Returns the event code. |
java.lang.String |
getHeadline()
Returns the simple, one-line description of the message being specified. |
java.util.Vector |
getProperties()
Returns the properties of this log message. |
java.lang.Object |
getPropertyValue(java.lang.String name)
Returns the value of one piece of detailed information from the message. |
int |
getResult()
Returns the message status. |
void |
setEvent(int eventCode)
Sets the event code. |
void |
setHeadline(java.lang.String headline)
Sets a simple, one-line description of the message being specified. |
void |
setProperty(java.lang.String name, java.lang.Object value)
Sets one piece of detailed information into the message. |
void |
setResult(int resultCode)
Sets the message status. |
| Method Detail |
|---|
void setResult(int resultCode)
ILog.LOG_ codes.
resultCode - The message status (for example, success)ISimpleLog.LOG_FAILURE,
ISimpleLog.LOG_PASS,
ISimpleLog.LOG_WARNING,
ISimpleLog.LOG_INFORMATIONint getResult()
ILog.LOG_ codes.
ISimpleLog.LOG_FAILURE,
ISimpleLog.LOG_PASS,
ISimpleLog.LOG_WARNING,
ISimpleLog.LOG_INFORMATIONvoid setEvent(int eventCode)
ILog.EVENT_ codes.
eventCode - The message event (for example, script start)ISimpleLog.EVENT_SCRIPT_START,
ISimpleLog.EVENT_SCRIPT_END,
ISimpleLog.EVENT_VP,
ISimpleLog.EVENT_GENERALint getEvent()
ILog.EVENT_ codes.
ISimpleLog.EVENT_SCRIPT_START,
ISimpleLog.EVENT_SCRIPT_END,
ISimpleLog.EVENT_VP,
ISimpleLog.EVENT_GENERALvoid setHeadline(java.lang.String headline)
headline - The simple messagejava.lang.String getHeadline()
void setProperty(java.lang.String name, java.lang.Object value)
name - The name of the informationvalue - The value of the informationjava.lang.Object getPropertyValue(java.lang.String name)
name - The name of the piece of information null is returned if the name is not found.java.util.Vector getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||