|
IBM Rational Functional Tester Version 8.2.1 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 | |||||||||
java.lang.Objectcom.rational.test.ft.services.SimpleLogAdapter
public class SimpleLogAdapter
The base implementation of the log interface.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
SimpleLogAdapter()
Constructor |
|
| Method Summary | |
|---|---|
void |
close()
Close the log, releasing any resources. |
ILogMessage |
createMessage()
Create an instance of a log message. |
ILogMessage |
createMessage(int resultCode,
int eventCode,
java.lang.String headline)
Create an instance of a log message specifying the status, event and note. |
void |
open()
Opens the log |
boolean |
openLogViewer()
The callback function to open the viewer for the log. |
void |
write(ILogMessage message)
Write a message into the log. |
void |
write(int resultCode,
int eventCode,
java.lang.String note)
Write a message into the log. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleLogAdapter()
| Method Detail |
|---|
public void open()
throws LogException
open in interface ISimpleLogLogExceptionpublic void close()
close in interface ISimpleLog
public void write(int resultCode,
int eventCode,
java.lang.String note)
write in interface ISimpleLogresultCode - One of the LOG_ codes.eventCode - One of the EVENT_ codes.note - Simple (one line) description of the message
being specified.ISimpleLog.LOG_FAILURE,
ISimpleLog.LOG_PASS,
ISimpleLog.LOG_WARNING,
ISimpleLog.LOG_INFORMATION,
ISimpleLog.EVENT_SCRIPT_START,
ISimpleLog.EVENT_SCRIPT_END,
ISimpleLog.EVENT_VP,
ISimpleLog.EVENT_CALL_SCRIPT,
ISimpleLog.EVENT_APPLICATION_START,
ISimpleLog.EVENT_APPLICATION_END,
ISimpleLog.EVENT_TIMER_START,
ISimpleLog.EVENT_TIMER_END,
ISimpleLog.EVENT_CONFIGURATION,
ISimpleLog.EVENT_GENERALpublic void write(ILogMessage message)
write in interface ISimpleLogmessage - The message (i.e. resultCode, eventCode,
note, and details)ISimpleLog.LOG_FAILURE,
ISimpleLog.LOG_PASS,
ISimpleLog.LOG_WARNING,
ISimpleLog.LOG_INFORMATION,
ISimpleLog.EVENT_SCRIPT_START,
ISimpleLog.EVENT_SCRIPT_END,
ISimpleLog.EVENT_VP,
ISimpleLog.EVENT_CALL_SCRIPT,
ISimpleLog.EVENT_APPLICATION_START,
ISimpleLog.EVENT_APPLICATION_END,
ISimpleLog.EVENT_TIMER_START,
ISimpleLog.EVENT_TIMER_END,
ISimpleLog.EVENT_CONFIGURATION,
ISimpleLog.EVENT_GENERALpublic ILogMessage createMessage()
createMessage in interface ISimpleLog
public ILogMessage createMessage(int resultCode,
int eventCode,
java.lang.String headline)
createMessage in interface ISimpleLogresultCode - One of the LOG_ codes.eventCode - One of the EVENT_ codes.headline - Simple (one line) description of the message
being specified.public boolean openLogViewer()
openLogViewer in interface ISimpleLog
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||