|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Task net.objectlab.qalab.ant.BuildStatChartTask
public class BuildStatChartTask
Constructor Summary | |
---|---|
BuildStatChartTask()
|
Method Summary | |
---|---|
void |
execute()
Method invoked by the ant or maven framework to execute the action associated with this task. |
java.lang.String |
getFilePrefix()
|
int |
getHeight()
|
int |
getMovingAverage()
|
java.lang.String |
getSummaryType()
|
int |
getWidth()
|
java.lang.String |
getXAxisSummaryTitle()
|
java.lang.String |
getXAxisTitle()
|
java.lang.String |
getYAxisSummaryTitle()
|
java.lang.String |
getYAxisTitle()
|
boolean |
isSummaryOnly()
|
void |
setFilePrefix(java.lang.String prefix)
|
void |
setHeight(int chartHeight)
set the chart height in pixels. |
void |
setInputFile(java.io.File statisticsFile)
Sets the base file (qalab.xml). |
void |
setMovingAverage(int aMovingAverage)
Set the number of points taken to form the moving average line, no moving average line will be created if value <=0. |
void |
setQuiet(boolean beQuiet)
Sets the quiet mode. |
void |
setSummaryOnly(boolean onlySummary)
set the boolean summary only, if true, only a summary chart will be generated. |
void |
setSummaryType(java.lang.String theSummaryType)
|
void |
setToDir(java.io.File targetDirectory)
Set the to directory where to output the charts. |
void |
setType(java.lang.String statisticsType)
|
void |
setWidth(int chartWidth)
set the chart width in pixels. |
void |
setXAxisSummaryTitle(java.lang.String axisSummaryTitle)
|
void |
setXAxisTitle(java.lang.String axisTitle)
|
void |
setYAxisSummaryTitle(java.lang.String axisSummaryTitle)
|
void |
setYAxisTitle(java.lang.String axisTitle)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildStatChartTask()
Method Detail |
---|
public final void execute()
public final void setType(java.lang.String statisticsType)
statisticsType
- the statistics type to take into account.public final void setInputFile(java.io.File statisticsFile)
statisticsFile
- the qalab.xmlpublic final void setToDir(java.io.File targetDirectory)
targetDirectory
- the destination directory where the charts are written. The
directory will be created if it does not exist.public final void setQuiet(boolean beQuiet)
beQuiet
- if true, no messages are displayed while generating charts.public final int getWidth()
public final void setWidth(int chartWidth)
chartWidth
- number of pixels.public final int getHeight()
public final void setHeight(int chartHeight)
chartHeight
- number of pixels.public final int getMovingAverage()
public final void setMovingAverage(int aMovingAverage)
aMovingAverage
- no average if <=0public final boolean isSummaryOnly()
public final void setSummaryOnly(boolean onlySummary)
onlySummary
- true will generate only 1 chart.public final java.lang.String getFilePrefix()
public final void setFilePrefix(java.lang.String prefix)
prefix
- The filePrefix to set.public java.lang.String getSummaryType()
public void setSummaryType(java.lang.String theSummaryType)
theSummaryType
- The summaryType to set.public java.lang.String getXAxisSummaryTitle()
public void setXAxisSummaryTitle(java.lang.String axisSummaryTitle)
axisSummaryTitle
- The xAxisSummaryTitle to set.public java.lang.String getXAxisTitle()
public void setXAxisTitle(java.lang.String axisTitle)
axisTitle
- The xAxisTitle to set.public java.lang.String getYAxisSummaryTitle()
public void setYAxisSummaryTitle(java.lang.String axisSummaryTitle)
axisSummaryTitle
- The yAxisSummaryTitle to set.public java.lang.String getYAxisTitle()
public void setYAxisTitle(java.lang.String axisTitle)
axisTitle
- The yAxisTitle to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |