|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.osgi.framework.log.FrameworkLogEntry
public class FrameworkLogEntry
A framework log entry used to log information to a FrameworkLog
Field Summary | |
---|---|
static int |
CANCEL
Status type severity (bit mask, value 8) indicating this log entry represents a cancellation. |
static int |
ERROR
Severity constant (bit mask, value 4) indicating this log entry represents an error. |
static int |
INFO
Severity constant (bit mask, value 1) indicating this log entry is informational only. |
static int |
OK
Severity constant (value 0) indicating this log entry represents the nominal case. |
static int |
WARNING
Severity constant (bit mask, value 2) indicating this log entry represents a warning. |
Constructor Summary | |
---|---|
FrameworkLogEntry(java.lang.String entry,
int severity,
int bundleCode,
java.lang.String message,
int stackCode,
java.lang.Throwable throwable,
FrameworkLogEntry[] children)
Constructs a new FrameworkLogEntry |
|
FrameworkLogEntry(java.lang.String entry,
java.lang.String message,
int stackCode,
java.lang.Throwable throwable,
FrameworkLogEntry[] children)
Constructs a new FrameworkLogEntry |
Method Summary | |
---|---|
int |
getBundleCode()
Returns the bundle-specific code describing the outcome. |
FrameworkLogEntry[] |
getChildren()
|
java.lang.String |
getEntry()
|
java.lang.String |
getMessage()
|
int |
getSeverity()
Returns the severity. |
int |
getStackCode()
|
java.lang.Throwable |
getThrowable()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int OK
getSeverity()
,
Constant Field Valuespublic static final int INFO
getSeverity()
,
Constant Field Valuespublic static final int WARNING
getSeverity()
,
Constant Field Valuespublic static final int ERROR
getSeverity()
,
Constant Field Valuespublic static final int CANCEL
getSeverity()
,
Constant Field ValuesConstructor Detail |
---|
public FrameworkLogEntry(java.lang.String entry, java.lang.String message, int stackCode, java.lang.Throwable throwable, FrameworkLogEntry[] children)
entry
- the entrymessage
- the messagestackCode
- the stack codethrowable
- the throwablechildren
- the childrenpublic FrameworkLogEntry(java.lang.String entry, int severity, int bundleCode, java.lang.String message, int stackCode, java.lang.Throwable throwable, FrameworkLogEntry[] children)
entry
- the entryseverity
- the severitybundleCode
- the bundle codemessage
- the messagestackCode
- the stack codethrowable
- the throwablechildren
- the childrenMethod Detail |
---|
public FrameworkLogEntry[] getChildren()
public java.lang.String getEntry()
public java.lang.String getMessage()
public int getStackCode()
public java.lang.Throwable getThrowable()
public int getSeverity()
CANCEL
- cancelation occurredERROR
- a serious error (most severe)WARNING
- a warning (less severe)INFO
- an informational ("fyi") message (least severe)OK
- everything is just fine
The severity of a multi-entry log is defined to be the maximum
severity of any of its children, or OK
if it has
no children.
OK
, ERROR
,
INFO
, WARNING
, or CANCEL
public int getBundleCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |