Package com.ooyala.pulse
Class LogItem
- java.lang.Object
-
- com.ooyala.pulse.LogItem
-
public class LogItem extends java.lang.ObjectPassed toLogListener.onLog(LogItem)under certain abnormal conditions (warnings, potential errors, and the like).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogItem.EventDescribes the event which triggered the log item.static classLogItem.SourceDescribes the source of this log item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorgetError()Gets the error associated with the event.LogItem.EventgetEvent()Gets the event which triggered the log item.LogItem.SourcegetSource()Gets the source of the log item.java.util.List<java.net.URL>getThirdPartySourceURLs()In case of a failed third party request, gets path of third party ads fetched until an error occurred; only relevant when source isAD.java.lang.StringtoString()
-
-
-
Method Detail
-
getEvent
public LogItem.Event getEvent()
Gets the event which triggered the log item.- Returns:
- The event.
-
getSource
public LogItem.Source getSource()
Gets the source of the log item.- Returns:
- The source of the log item.
-
getError
public Error getError()
Gets the error associated with the event.- Returns:
- The error.
-
getThirdPartySourceURLs
public java.util.List<java.net.URL> getThirdPartySourceURLs()
In case of a failed third party request, gets path of third party ads fetched until an error occurred; only relevant when source isAD.- Returns:
- The list of third party URLs loaded.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-