| 
|||||||||
| 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_ERROR
Log Type: Error  | 
static int | 
LT_INFORMATION
Log Type: Information  | 
static int | 
LT_WARNING
Log Type: Warning  | 
| Method Summary | |
|---|---|
 java.lang.Object[] | 
getContext()
Returns the objects associated with the alert - this will return null if the alert isn't associated with such any objects.  | 
 java.lang.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.  | 
 java.lang.String | 
getPlainText()
Returns the text of the message - this will have any formatting stripped out.  | 
 java.lang.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()
java.lang.String getText()
java.lang.String getPlainText()
java.lang.Throwable getError()
int getType()
java.lang.Object[] getContext()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||