|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gudy.azureus2.core3.logging.LogAlert
public class LogAlert
Field Summary | |
---|---|
static int |
AT_ERROR
|
static int |
AT_INFORMATION
|
static int |
AT_WARNING
|
java.lang.String |
details
|
int |
entryType
|
java.lang.Throwable |
err
|
boolean |
forceNotify
|
java.lang.Object[] |
relatedTo
A list of events that this entry is related to |
boolean |
repeatable
|
static boolean |
REPEATABLE
|
java.lang.String |
text
|
int |
timeoutSecs
|
static boolean |
UNREPEATABLE
|
Fields inherited from interface org.gudy.azureus2.plugins.logging.LogAlert |
---|
LT_ERROR, LT_INFORMATION, LT_WARNING |
Constructor Summary | |
---|---|
LogAlert(boolean repeatable,
int type,
java.lang.String text)
|
|
LogAlert(boolean repeatable,
int type,
java.lang.String text,
int timeoutSecs)
|
|
LogAlert(boolean repeatable,
int type,
java.lang.String text,
java.lang.Throwable err)
|
|
LogAlert(boolean repeatable,
java.lang.String text,
java.lang.Throwable err)
|
|
LogAlert(java.lang.Object[] relatedTo,
boolean repeatable,
int type,
java.lang.String text)
|
|
LogAlert(java.lang.Object relatedTo,
boolean repeatable,
int type,
java.lang.String text)
|
|
LogAlert(java.lang.Object relatedTo,
boolean repeatable,
java.lang.String text,
java.lang.Throwable err)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int AT_INFORMATION
public static final int AT_WARNING
public static final int AT_ERROR
public static final boolean REPEATABLE
public static final boolean UNREPEATABLE
public final int entryType
public java.lang.Throwable err
public final boolean repeatable
public java.lang.String text
public java.lang.Object[] relatedTo
public int timeoutSecs
public java.lang.String details
public boolean forceNotify
Constructor Detail |
---|
public LogAlert(boolean repeatable, int type, java.lang.String text)
type
- text
- repeatable
- public LogAlert(boolean repeatable, int type, java.lang.String text, int timeoutSecs)
type
- text
- repeatable
- timeoutSecs
- -1 -> use defaults 0 -> no timeoutpublic LogAlert(java.lang.Object[] relatedTo, boolean repeatable, int type, java.lang.String text)
public LogAlert(java.lang.Object relatedTo, boolean repeatable, int type, java.lang.String text)
public LogAlert(boolean repeatable, java.lang.String text, java.lang.Throwable err)
public LogAlert(boolean repeatable, int type, java.lang.String text, java.lang.Throwable err)
public LogAlert(java.lang.Object relatedTo, boolean repeatable, java.lang.String text, java.lang.Throwable err)
downloadManagerImpl
- b
- string
- e
- Method Detail |
---|
public int getGivenTimeoutSecs()
LogAlert
getGivenTimeoutSecs
in interface LogAlert
public java.lang.String getText()
LogAlert
getText
in interface LogAlert
public java.lang.Throwable getError()
LogAlert
getError
in interface LogAlert
public int getType()
LogAlert
getType
in interface LogAlert
public java.lang.Object[] getContext()
LogAlert
getContext
in interface LogAlert
public int getTimeoutSecs()
LogAlert
getTimeoutSecs
in interface LogAlert
public java.lang.String getPlainText()
LogAlert
getPlainText
in interface LogAlert
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |