public interface Report
| Modifier and Type | Method and Description |
|---|---|
void |
addBlock(Statistics stat)
add a statistics block to the report to the class register
|
String |
blockExplanation(String explanation)
output the explanation of the stat block in the relevant format
|
String |
dateRange()
output the date range in the relevant format.
|
String |
floorInfo(int floor)
output the floor information in the relevant format
|
String |
footer()
output the final footers for this file
|
String |
header()
output any top headers that this page needs
|
String |
header(String title)
output any top headers that this page needs
|
String |
mainTitle()
output the title in the relevant format.
|
String |
render()
render the report
|
String |
sectionHeader(String title)
output the section header in the relevant format
|
void |
setEndDate(Date end)
set the end date for the report
|
void |
setMainTitle(String name,
String serverName)
set the main title for the report
|
void |
setStartDate(Date start)
set the starting date for the report
|
String |
statBlock(Statistics content)
output the report block based on the passed statistics object array
|
String header()
String header(String title)
title - the title of the report, useful for email subjects or
HTML headersString mainTitle()
String dateRange()
String sectionHeader(String title)
title - the title of the current section headerString statBlock(Statistics content)
content - a statistics object to form the basis of the displayed
stat blockString floorInfo(int floor)
floor - the floor value for the statistics blockString blockExplanation(String explanation)
explanation - the explanatory or clarification text for the statsString footer()
void setMainTitle(String name, String serverName)
name - the name of the serviceserverName - the name of the servervoid addBlock(Statistics stat)
stat - the statistics object to be added to the reportString render()
void setStartDate(Date start)
start - the start date for the reportvoid setEndDate(Date end)
end - the end date for the reportCopyright © 2017 DuraSpace. All rights reserved.