|
||||||||||
| 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 java.lang.String |
DEFAULT_OPTION_PATH
If a bundles symbolic name is not specified then the default value of /debug can be used |
| Constructor Summary | |
|---|---|
FrameworkDebugTraceEntry(java.lang.String bundleSymbolicName,
java.lang.String optionPath,
java.lang.String message,
java.lang.String traceClass)
Construct a new FrameworkTraceRecord object |
|
FrameworkDebugTraceEntry(java.lang.String bundleSymbolicName,
java.lang.String optionPath,
java.lang.String message,
java.lang.Throwable error,
java.lang.String traceClass)
Construct a new FrameworkTraceRecord object |
|
| Method Summary | |
|---|---|
java.lang.String |
getBundleSymbolicName()
Accessor for the symbolic name of the bundle being traced |
java.lang.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 |
java.lang.String |
getMessage()
Accessor for the trace message |
java.lang.String |
getMethodName()
Accessor for the method being traced. |
java.lang.String |
getOptionPath()
Accessor for the option-path being traced. |
java.lang.String |
getThreadName()
Accessor to the threads name |
java.lang.Throwable |
getThrowable()
Accessor for the trace exception. |
long |
getTimestamp()
Accessor to the timestamp for this trace record |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_OPTION_PATH
| Constructor Detail |
|---|
public FrameworkDebugTraceEntry(java.lang.String bundleSymbolicName,
java.lang.String optionPath,
java.lang.String message,
java.lang.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(java.lang.String bundleSymbolicName,
java.lang.String optionPath,
java.lang.String message,
java.lang.Throwable error,
java.lang.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 java.lang.String toString()
toString in class java.lang.Objectpublic final java.lang.String getThreadName()
public final long getTimestamp()
public final java.lang.String getBundleSymbolicName()
public final java.lang.String getMessage()
public final java.lang.Throwable getThrowable()
public final java.lang.String getClassName()
public final java.lang.String getMethodName()
public final java.lang.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 | |||||||||