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(String message,
int style)
Indicate the beginning of an activity, possibly blocking system
interaction.
|
void |
reportError(String title,
String message,
Throwable t,
int style)
Indicate an error condition.
|
void |
reportMessage(String title,
String message,
int style)
Report a message to the user.
|
void |
reportProgress(String message,
int percent,
int style)
Indicate the progress of an ongoing activity.
|
void |
reportStatus(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(String message, int style)
message - A label for reporting the activity.style - void reportError(String title, String message, Throwable t, int style)
title - message - t - style - void reportMessage(String title, String message, int style)
title - message - style - void reportProgress(String message, int percent, int style)
message - The message to be displayed.percent - The amount of work already done in percent. Valid values are 0
<= percent <= 100 for progress indication, percent < 0 for the
end of progress indication.style - void reportStatus(String message, int style)
message - style - Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.