public interface IC2TestgenStatusReporter
IC2TestgenListener
s
regarding the status of the overall test generation task.IC2TestgenListener
Modifier and Type | Method and Description |
---|---|
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.
|
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.© Copyright IBM Corp. 2013. All rights reserved.