|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IC2TestgenStatusReporter
Implementors of this interface are able to update IC2TestgenListener
s
regarding the status of the overall test generation task.
IC2TestgenListener
Method Summary | |
---|---|
void |
addTestgenListener(IC2TestgenListener listener)
Register a listener |
void |
removeTestgenListener(IC2TestgenListener listener)
De-register a listener |
void |
reportError(String taskName,
String errorMsg,
Throwable error)
Report that an error has occurred during performance of the test generation operation. |
void |
reportPercentComplete(int percent)
Report percent complete. |
void |
reportTaskEnd(String taskName)
Report that a task has ended. |
void |
reportTaskStart(String taskName)
Report that a task has begun. |
void |
reportTaskStatus(String taskName,
String statusMsg)
Report status regarding a task that has been started. |
void |
reportTestgenEnd(int status,
String statusMsg)
Report that the test generation task has ended. |
void |
reportTestgenStart()
Report that the test generation task has begun. |
Method Detail |
---|
void addTestgenListener(IC2TestgenListener listener)
listener
- an IC2TestgenListener
void removeTestgenListener(IC2TestgenListener listener)
listener
- an IC2TestgenListener
that has been registeredvoid reportTestgenStart()
void reportTestgenEnd(int status, String statusMsg)
status
- the status of the overall test generation operation -- one of
statusMsg
- a descriptive message corresponding to status
void reportTaskStart(String taskName)
taskName
- the name of the taskvoid reportTaskEnd(String taskName)
taskName
- the name of the taskvoid reportPercentComplete(int percent)
percent
- the percent completevoid reportTaskStatus(String taskName, String statusMsg)
taskName
- the name of the taskstatusMsg
- a descriptive messagevoid reportError(String taskName, String errorMsg, Throwable error)
taskName
- the name of the taskerrorMsg
- a descriptive messageerror
- a Throwable
that has been caught, hence detection
of the error condition. This value will be null
if no
exception has been thrown.
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |