|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.co.concise.maven.hdc.HibernatePlugin uk.co.concise.maven.hdc.report.TimeChart
public class TimeChart
Creates a set of historical charts and an xml file specifying which charts have been created. This is used for the historical report.
Constructor Summary | |
---|---|
TimeChart()
Default construction, required by Jelly. |
|
TimeChart(java.lang.String dbDriverClass,
java.lang.String dbUrl,
java.lang.String dbUser,
java.lang.String dbPass,
java.lang.String dbHibernateDialect,
java.lang.String reportDirectory,
int width,
int height)
Constructor taking same parameters as are passed when this class is used as a tag. |
Method Summary | |
---|---|
protected org.jfree.data.XYDataset |
createDataSet(Label label)
Creates the data set for a label. |
int |
getHeight()
The height in pixels of the generated chart image. |
java.lang.String |
getReportDirectory()
Returns the directory where report output should be saved. |
int |
getWidth()
The width in pixels of the generated chart image. |
void |
run()
Called from Maven. |
void |
setHeight(int height)
The height in pixels of the generated chart image. |
void |
setReportDirectory(java.lang.String reportDirectory)
Sets the directory where report output should be saved. |
void |
setWidth(int width)
The width in pixels of the generated chart image. |
Methods inherited from class uk.co.concise.maven.hdc.HibernatePlugin |
---|
configure, getDbDriverClass, getDbHibernateDialect, getDbPass, getDbUrl, getDbUser, setDbDriverClass, setDbHibernateDialect, setDbPass, setDbUrl, setDbUser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeChart()
public TimeChart(java.lang.String dbDriverClass, java.lang.String dbUrl, java.lang.String dbUser, java.lang.String dbPass, java.lang.String dbHibernateDialect, java.lang.String reportDirectory, int width, int height)
dbDriverClass
- the JDBC driver class.dbUrl
- the URL to the database.dbUser
- the user used to access the database.dbPass
- the password for dbUser.dbHibernateDialect
- the dialect that hibernate will use to
communicate with hibernate. See the hibernate documentation for more
information.reportDirectory
- the directory where report output will
be generated.width
- the width in pixels of the generated charts.height
- the height in pixels of the generated charts.Method Detail |
---|
public void run()
protected org.jfree.data.XYDataset createDataSet(Label label)
label
- the label to create a dataset for.
public java.lang.String getReportDirectory()
public void setReportDirectory(java.lang.String reportDirectory)
reportDirectory
- The reportDirectory to set.public int getHeight()
public void setHeight(int height)
height
- The height to set.public int getWidth()
public void setWidth(int width)
width
- The width to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |