A configuration object that controls several aspects of
report creation, such as the output directory and chart
sizes. A single instance is passed around to all objects
involved in report creation.
copyFileIntoReport
public void copyFileIntoReport(URL source,
String destinationFilename)
Copies a file from a URL into the report.
source
- The source filedestinationFilename
- The destionation, relative to the
report root, without initial slash.
createChartImage
public ChartImage createChartImage(String fileName,
String title,
JFreeChart chart,
Dimension size)
Writes a chart image file.
fileName
- The file's name, relative to the root.title
- The chart's titlechart
- The JFreeChart representationsize
- Width and heigth in pixels
- An object representing the file
createPage
public Page createPage(String fileName,
String shortTitle,
String fullTitle)
Creates an empty report page.
fileName
- The page's file name, relative to the root,
without file extensionshortTitle
- A short title for use in navigation linksfullTitle
- The full title for the headline
- An empty page according to the specifications
getLargeChartSize
public Dimension getLargeChartSize()
getProjectName
public String getProjectName()
getRootDirectory
public String getRootDirectory()
getSmallChartSize
public Dimension getSmallChartSize()
getWebBugtracker
public BugTracker getWebBugtracker()
isDeveloper
public boolean isDeveloper(Author author)
setLargeChartSize
public void setLargeChartSize(Dimension newSize)
setNonDeveloperLogins
public void setNonDeveloperLogins(Collection names)
setSmallChartSize
public void setSmallChartSize(Dimension newSize)
setWebBugtracker
public void setWebBugtracker(BugTracker webBugtracker)