org.rhq.core.domain.event.transfer
Class EventReport
java.lang.Object
org.rhq.core.domain.event.transfer.EventReport
- All Implemented Interfaces:
- Serializable
public class EventReport
- extends Object
- implements Serializable
A report of resource Event
s that the Plugin Container periodically sends to the Server. The report contains
all Events that have occurred since the last time a report was successfully sent.
- See Also:
- Serialized Form
EventReport
public EventReport()
addEvent
public void addEvent(@NotNull
Event event,
@NotNull
EventSource eventSource)
- Adds the given Event to this report.
- Parameters:
event
- the Event to be addedeventSource
- the source of the Event to be added
getEvents
@NotNull
public Map<EventSource,Set<Event>> getEvents()
- Returns the Events contained in this report; the Events are in a map keyed off Event sources.
- Returns:
- the Events contained in this report
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.