| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LogAlert
A LogAlert represents a message that should be displayed to the user.
Note: Only for implementation by Azureus, not plugins.
| Field Summary | |
|---|---|
| static int | LT_ERRORLog Type: Error | 
| static int | LT_INFORMATIONLog Type: Information | 
| static int | LT_WARNINGLog Type: Warning | 
| Method Summary | |
|---|---|
|  Object[] | getContext()Returns the objects associated with the alert - this will return null if the alert isn't associated with such any objects. | 
|  Throwable | getError()Returns the error associated with the alert - null if there is no error. | 
|  int | getGivenTimeoutSecs()How long should to display the alert for - this will be the value that was given when creating the alert. | 
|  String | getPlainText()Returns the text of the message - this will have any formatting stripped out. | 
|  String | getText()Returns the text of the message - this may include formatting tags (for example, hyperlinks). | 
|  int | getTimeoutSecs()How long should to display the alert for - this will be either the explicit value given when creating the alert, or a value determined from Azureus's behaviour and its configuration settings. | 
|  int | getType()Returns the log type of the alert - the value of which will be one of the LT_ constants defined above. | 
| Field Detail | 
|---|
static final int LT_INFORMATION
static final int LT_WARNING
static final int LT_ERROR
| Method Detail | 
|---|
int getGivenTimeoutSecs()
int getTimeoutSecs()
String getText()
String getPlainText()
Throwable getError()
int getType()
Object[] getContext()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||