|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.osgi.framework.debug.FrameworkDebugTraceEntry
public class FrameworkDebugTraceEntry
A framework trace entry is a bean containing all of the attributes for a single trace message.
| Field Summary | |
|---|---|
static String |
DEFAULT_OPTION_PATH
If a bundles symbolic name is not specified then the default value of /debug can be used |
| Constructor Summary | |
|---|---|
FrameworkDebugTraceEntry(String bundleSymbolicName,
String optionPath,
String message,
String traceClass)
Construct a new FrameworkTraceRecord object |
|
FrameworkDebugTraceEntry(String bundleSymbolicName,
String optionPath,
String message,
Throwable error,
String traceClass)
Construct a new FrameworkTraceRecord object |
|
| Method Summary | |
|---|---|
String |
getBundleSymbolicName()
Accessor for the symbolic name of the bundle being traced |
String |
getClassName()
Accessor for the name of the class being traced. |
int |
getLineNumber()
Return the line number in the class/method where the trace originator |
String |
getMessage()
Accessor for the trace message |
String |
getMethodName()
Accessor for the method being traced. |
String |
getOptionPath()
Accessor for the option-path being traced. |
String |
getThreadName()
Accessor to the threads name |
Throwable |
getThrowable()
Accessor for the trace exception. |
long |
getTimestamp()
Accessor to the timestamp for this trace record |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_OPTION_PATH
| Constructor Detail |
|---|
public FrameworkDebugTraceEntry(String bundleSymbolicName,
String optionPath,
String message,
String traceClass)
bundleSymbolicName - The symbolic name of the bundle being tracedoptionPath - The trace optionPathmessage - The trace messagetraceClass - The class that calls the trace API
public FrameworkDebugTraceEntry(String bundleSymbolicName,
String optionPath,
String message,
Throwable error,
String traceClass)
bundleSymbolicName - The symbolic name of the bundle being tracedoptionPath - The trace optionPathmessage - The trace messageerror - An exception to be tracedtraceClass - The class that calls the trace API| Method Detail |
|---|
public String toString()
toString in class Objectpublic final String getThreadName()
public final long getTimestamp()
public final String getBundleSymbolicName()
public final String getMessage()
public final Throwable getThrowable()
public final String getClassName()
public final String getMethodName()
public final String getOptionPath()
Examples:
1) If a trace string com.ibm.myplugin.core/debug=true is specified then 'debug' is the option-path value.
2) If a trace string com.ibm.myplugin.core/debug/perf=true is specified then 'debug/perf' is the option-path value.
public final int getLineNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||