public class ReportSession extends Object
ReportSession
contains all Report
s from a session, which is
currently based on a date.Constructor and Description |
---|
ReportSession(long timestamp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<M extends Message,R extends Report<M>> |
addReport(R report)
Add a
Report to this session. |
com.google.common.collect.Multimap<Class<? extends Report<?>>,Report<?>> |
getAllReports()
Get all reports.
|
long |
getId()
Returns the the id of this session
|
com.google.common.collect.Multimap<Class<? extends Report<?>>,Report<?>> |
getReports(Class<? extends Message> messageType)
Get all reports matching the given message type
|
public ReportSession(long timestamp)
timestamp
- the timestamppublic long getId()
public <M extends Message,R extends Report<M>> void addReport(R report)
Report
to this session.report
- the reportpublic com.google.common.collect.Multimap<Class<? extends Report<?>>,Report<?>> getReports(Class<? extends Message> messageType)
messageType
- the message typeBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a