|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.urd.impl.DefaultRecord
A default record type for the Urd server.
| Constructor Summary | |
DefaultRecord()
|
|
DefaultRecord(java.lang.String id,
java.lang.String msg,
java.lang.Throwable th)
|
|
DefaultRecord(java.lang.String msg,
java.lang.Throwable th)
|
|
| Method Summary | |
java.lang.String |
getId()
Get record id. |
Level |
getLevel()
Get the severity level of the record. |
java.util.Properties |
getProperties()
Get a set of record properties. |
java.lang.String |
getText()
Get the record overview message. |
java.lang.Throwable |
getThrowable()
Get the throwable that triggered this record. |
Type |
getType()
Get the type of the record. |
void |
setId(java.lang.String id)
Set the record. |
void |
setLevel(Level level)
Set the severity level. |
void |
setText(java.lang.String msg)
Set the record overview. |
void |
setThrowable(java.lang.Throwable error)
Set throwable that caused the record. |
void |
setType(Type type)
Set the record type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultRecord(java.lang.String id,
java.lang.String msg,
java.lang.Throwable th)
public DefaultRecord(java.lang.String msg,
java.lang.Throwable th)
public DefaultRecord()
| Method Detail |
public Type getType()
RecordType.UNKNOWN.
- Specified by:
getType in interface Record
- Returns:
- A Record type object, may be null
public void setType(Type type)
Record
setType in interface Recordtype - Record type object, may be nullpublic java.lang.String getId()
Record
getId in interface Recordpublic void setId(java.lang.String id)
Record
setId in interface Recordid - Record idpublic Level getLevel()
Record
getLevel in interface Recordpublic void setLevel(Level level)
Record
setLevel in interface Recordlevel - Severity level object, may be nullpublic java.lang.String getText()
Record
getText in interface Recordpublic void setText(java.lang.String msg)
Record
setText in interface Recordmsg - Record overview messagepublic java.lang.Throwable getThrowable()
Record
getThrowable in interface Recordpublic void setThrowable(java.lang.Throwable error)
Record
setThrowable in interface Recorderror - A throwable that triggered the recordpublic java.util.Properties getProperties()
Record
getProperties in interface Record
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||