public interface IReporter
This may be implemented for example as pure logging in a headless environment or with message dialogs in a window system.
| Modifier and Type | Field and Description |
|---|---|
static int |
STYLE_BEEP |
static int |
STYLE_NONE |
static int |
STYLE_STANDALONE |
| Modifier and Type | Method and Description |
|---|---|
void |
reportActivityEnd()
Indicate the end of an activity.
|
void |
reportActivityStart(java.lang.String message,
int style)
Indicate the beginning of an activity, possibly blocking system
interaction.
|
void |
reportError(java.lang.String title,
java.lang.String message,
java.lang.Throwable t,
int style)
Indicate an error condition.
|
void |
reportMessage(java.lang.String title,
java.lang.String message,
int style)
Report a message to the user.
|
void |
reportProgress(java.lang.String message,
int percent,
int style)
Indicate the progress of an ongoing activity.
|
void |
reportStatus(java.lang.String message,
int style)
Report a simple state information.
|
static final int STYLE_NONE
static final int STYLE_STANDALONE
static final int STYLE_BEEP
void reportActivityEnd()
void reportActivityStart(java.lang.String message,
int style)
message - A label for reporting the activity.style - void reportError(java.lang.String title,
java.lang.String message,
java.lang.Throwable t,
int style)
title - message - t - style - void reportMessage(java.lang.String title,
java.lang.String message,
int style)
title - message - style - void reportProgress(java.lang.String message,
int percent,
int style)
message - percent - style - void reportStatus(java.lang.String message,
int style)
message - style -