Package com.ooyala.pulse
Class LogItem
- java.lang.Object
-
- com.ooyala.pulse.LogItem
-
public class LogItem extends java.lang.Object
Passed toLogListener.onLog(LogItem)
under certain abnormal conditions (warnings, potential errors, and the like).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogItem.Event
Describes the event which triggered the log item.static class
LogItem.Source
Describes the source of this log item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Error
getError()
Gets the error associated with the event.LogItem.Event
getEvent()
Gets the event which triggered the log item.LogItem.Source
getSource()
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.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-