|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.query.report.ActivityReport
public class ActivityReport
A report holds the output of some activity. The report collects information during the activity, such as failures or successes.
Constructor Summary | |
---|---|
ActivityReport(java.lang.String reportType)
Construct new report of given type |
Method Summary | |
---|---|
void |
addItem(ReportItem item)
Add a new item to the report. |
void |
addItems(java.util.Collection items)
Add a new collection of items to the report. |
java.util.Collection |
getItems()
|
java.util.Collection |
getItemsByType(java.lang.String type)
|
java.util.Collection |
getItemTypes()
|
java.lang.String |
getReportType()
Get type of report. |
boolean |
hasItems()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActivityReport(java.lang.String reportType)
reportType
- Type of reportMethod Detail |
---|
public java.lang.String getReportType()
public void addItem(ReportItem item)
item
- Item being addedpublic void addItems(java.util.Collection items)
items
- Items being addedpublic boolean hasItems()
public java.util.Collection getItems()
public java.util.Collection getItemsByType(java.lang.String type)
public java.util.Collection getItemTypes()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |