|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTask
net.objectlab.qalab.ant.BuildStatMoverTask
public class BuildStatMoverTask
An Ant task to create the mover XML file given some parameters.
Constructor Summary | |
---|---|
BuildStatMoverTask()
|
Method Summary | |
---|---|
void |
execute()
Method invoked by the ant framework to execute the compilation of statistics movers withing the time window. |
java.lang.String |
getEndTimeWindow()
|
java.lang.Integer |
getHoursOffsetForLastRun()
|
java.io.File |
getInputFile()
|
java.io.File |
getOutputXMLfile()
|
java.lang.String |
getStartTimeHoursOffset()
|
java.lang.String |
getStartTimeWindow()
|
java.lang.String |
getTypes()
|
boolean |
isQuiet()
|
boolean |
isWeekendAdjustment()
|
void |
log(java.lang.String text)
uses the super log from the conventional Ant Task log. |
void |
setEndTimeWindow(java.lang.String endTime)
|
void |
setHoursOffsetForLastRun(java.lang.Integer hoursOffsetForLastRun)
|
void |
setInputFile(java.io.File inputXML)
Set the base file xml document, typically qalab.xml. |
void |
setOutputXMLfile(java.io.File outputFile)
Set the destination XML file for the up/down stats. |
void |
setQuiet(boolean noLog)
|
void |
setStartTimeHoursOffset(java.lang.String hours)
Set the offset time in hours to define start window. |
void |
setStartTimeWindow(java.lang.String startTime)
|
void |
setTypes(java.lang.String type)
Sets the types on which the report is based, checkstyle|findbugs|pmd |simian can be combined in a comma separated format. |
void |
setWeekendAdjustment(boolean wkendadj)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildStatMoverTask()
Method Detail |
---|
public final boolean isQuiet()
public final void setQuiet(boolean noLog)
noLog
- true and the system will not output debug info.public final void execute()
public final void log(java.lang.String text)
log
in interface TaskLogger
text
- the text to logpublic final java.lang.String getStartTimeHoursOffset()
public final void setStartTimeHoursOffset(java.lang.String hours)
hours
- offset in hourspublic final java.lang.String getTypes()
public final void setTypes(java.lang.String type)
type
- single or multiple types.public final java.io.File getOutputXMLfile()
public final void setOutputXMLfile(java.io.File outputFile)
outputFile
- XML destination file.public final java.io.File getInputFile()
public final void setInputFile(java.io.File inputXML)
inputXML
- the qalab.xml.public final void setWeekendAdjustment(boolean wkendadj)
wkendadj
- true will deduce a further 48 hours to the start window in
order to take into account weekend if the start window fell on
a Saturday or Sunday.public final boolean isWeekendAdjustment()
public final void setEndTimeWindow(java.lang.String endTime)
endTime
- The endTimeWindow to set.public final java.lang.String getEndTimeWindow()
public final void setStartTimeWindow(java.lang.String startTime)
startTime
- The startTimeWindow to set.public final java.lang.String getStartTimeWindow()
public java.lang.Integer getHoursOffsetForLastRun()
public void setHoursOffsetForLastRun(java.lang.Integer hoursOffsetForLastRun)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |