|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.chorem.jtimer.ui.report.ReportGenerator
public class ReportGenerator
Report generator class (process code).
Nested Class Summary | |
---|---|
static class |
ReportGenerator.Type
Report type |
Field Summary | |
---|---|
protected freemarker.template.Configuration |
freemarkerConfiguration
Freemarker |
Constructor Summary | |
---|---|
ReportGenerator()
Constructor. |
Method Summary | |
---|---|
protected String |
getReportContent(freemarker.template.Template template,
List<TimerProject> projects,
Date begin,
Date end,
boolean includeAnnotate)
Get report content with freemarker template execution. |
String |
getReportText(ReportGenerator.Type reportType,
List<TimerProject> projects,
Date begin,
Date end,
boolean includeAnnotate)
Make report. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected freemarker.template.Configuration freemarkerConfiguration
Constructor Detail |
---|
public ReportGenerator()
Method Detail |
---|
public String getReportText(ReportGenerator.Type reportType, List<TimerProject> projects, Date begin, Date end, boolean includeAnnotate)
reportType
- type, (daily, weekly...)projects
- projects sub setbegin
- begin dateend
- end dateincludeAnnotate
- include annotations
protected String getReportContent(freemarker.template.Template template, List<TimerProject> projects, Date begin, Date end, boolean includeAnnotate) throws freemarker.template.TemplateException, IOException
projects
- projects sub setbegin
- begin dateend
- end datetemplate
- freemarker template to useincludeAnnotate
- include annotations
IOException
- if i/o exception occurs
freemarker.template.TemplateException
- if freemarker template exception occursTemplate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |