|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.base.trace.TraceItem
public class TraceItem
An item of data to be written.
| Constructor Summary | |
|---|---|
TraceItem()
Create a new item. |
|
| Method Summary | |
|---|---|
protected void |
assertNotNull(java.lang.String fieldName,
java.lang.Object fieldValue)
Verify that the specified value is not null. |
java.lang.Object |
clone()
Return a copy of this object. |
boolean |
containsText()
Return true if this item contains any text. |
TraceChannel |
getChannel()
Return the channel. |
java.lang.Object |
getLock()
Return the lock. |
java.lang.String |
getMessage()
Return the message. |
TraceItem |
getNextItem()
Return the next item. |
TraceItem |
getPrevItem()
Return the previous item. |
java.lang.String |
getThreadName()
Return the name of the thread that called Trace. |
java.lang.Throwable |
getThrowable()
Return the throwable. |
java.util.Date |
getTime()
Return the time that the item was written to Trace |
java.lang.String |
toString()
Return a string representation of this object for testing purposes. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TraceItem()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean containsText()
public java.lang.String getMessage()
public java.lang.Throwable getThrowable()
public java.util.Date getTime()
public java.lang.String getThreadName()
public java.lang.Object getLock()
public TraceItem getPrevItem()
public TraceItem getNextItem()
public TraceChannel getChannel()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - If this object is not cloneable.
protected final void assertNotNull(java.lang.String fieldName,
java.lang.Object fieldValue)
throws DetailedNullPointerException
fieldName - The name of the field to checkfieldValue - The value of the field to check
DetailedNullPointerException - If fieldValue is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||