public class TraceItem extends AbstractItem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
rcs_id |
Constructor and Description |
---|
TraceItem(org.apache.log4j.spi.LoggingEvent loggingEvent) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
getChildren() |
java.util.Iterator |
getChildren(boolean refresh) |
java.util.Date |
getDate() |
java.lang.String |
getDescription() |
long |
getDuration(TraceItem ti2)
Get duration between and given other TraceItems timestamp
|
java.lang.String |
getImageURL() |
java.util.Locale |
getLocale()
Get Locale
|
org.apache.log4j.spi.LoggingEvent |
getLoggingEvent() |
java.lang.String |
getName() |
java.lang.String |
getNameEx()
Get "extended/alternate name".
|
java.lang.String |
getPath()
For some object types (especially for RepositoryObjectItems) this method
may return a reasonable path - instances of other classes should return
null
|
boolean |
hasNoChildren() |
void |
showReport(ActionContext actionContext)
Show a report for this item.
|
addBulkCommand, addCommand, addDetailViewTab, cannotHaveChildren, clearCache, clearProperties, getAccessControlElements, getBulkCommands, getCommand, getCommand, getCommands, getConnector, getCurrentUserPermissionItem, getDefaultCommand, getDetailsCommand, getDetailViewTabs, getItem, getKey, getLanguage, getNonPermissionAccessControlElements, getPersistanceLocale, getPrivilegeDescriptor, getProperties, getRelatedItems, getReport, getReportForDetailView, hasRequiredAttribute, isLocked, isModified, isReadOnly, isStandalone, isSubTabModified, removeCommand, replaceCommand, save, setAccessControlElements, setCommandEnabled, setConnector, setDefaultCommand, setDetailsCommand, setLocked, setProperties, setRelatedItems, setRequiredAttribute, setTabModified, showDetailView, toString
public static final java.lang.String rcs_id
public java.util.Locale getLocale()
Item
getLocale
in interface Item
getLocale
in class AbstractItem
public java.lang.String getImageURL()
public org.apache.log4j.spi.LoggingEvent getLoggingEvent()
public java.util.Date getDate()
public java.lang.String getName() throws java.lang.Exception
java.lang.Exception
public java.lang.String getNameEx() throws java.lang.Exception
AbstractItem
getNameEx
in interface Item
getNameEx
in class AbstractItem
java.lang.Exception
public java.lang.String getDescription() throws java.lang.Exception
java.lang.Exception
public java.util.Iterator getChildren() throws java.lang.Exception
java.lang.Exception
public java.util.Iterator getChildren(boolean refresh) throws java.lang.Exception
java.lang.Exception
public java.lang.String getPath() throws java.lang.Exception
AbstractItem
getPath
in interface Item
getPath
in class AbstractItem
java.lang.Exception
public boolean hasNoChildren() throws java.lang.Exception
java.lang.Exception
public void showReport(ActionContext actionContext)
AbstractItem
showReport
in interface Item
showReport
in class AbstractItem
public long getDuration(TraceItem ti2)
ti2
-