Package org.opennms.netmgt.xml.event
Class Log
- java.lang.Object
-
- org.opennms.netmgt.xml.event.Log
-
- All Implemented Interfaces:
Serializable
,Message
public class Log extends Object implements Message, Serializable
Class Log.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.opennms.core.ipc.sink.api.Message
SINK_METRIC_CONSUMER_DOMAIN, SINK_METRIC_PRODUCER_DOMAIN
-
-
Constructor Summary
Constructors Constructor Description Log()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllEvents(Log log)
void
addEvent(Event event)
protected void
assertEventsExists()
void
clear()
Events
getEvents()
Returns the value of field 'events'.Header
getHeader()
Returns the value of field 'header'.void
setEvents(Events events)
Sets the value of field 'events'.void
setHeader(Header header)
Sets the value of field 'header'.String
toString()
-
-
-
Method Detail
-
getEvents
public Events getEvents()
Returns the value of field 'events'.- Returns:
- the value of field 'Events'.
-
getHeader
public Header getHeader()
Returns the value of field 'header'.- Returns:
- the value of field 'Header'.
-
setEvents
public void setEvents(Events events)
Sets the value of field 'events'.- Parameters:
events
- the value of field 'events'.
-
addEvent
public void addEvent(Event event)
-
addAllEvents
public void addAllEvents(Log log)
-
assertEventsExists
protected void assertEventsExists()
-
setHeader
public void setHeader(Header header)
Sets the value of field 'header'.- Parameters:
header
- the value of field 'header'.
-
clear
public void clear()
-
-