A file named <moduleName>.<dailyanalysisName>.dailyanalysis.def.xml defines one or more analyses that represent process or product data information at five minute intervals during a day, and which is displayed to the user via the "Daily Diary" command. This extension point requires a file pattern of "*.dailyanalysis.def.xml" in order to be recognized by the build system.
Example 24.3, “hackySdt_FileMetric.filemetric.dailyanalysis.def.xml” illustrates an example Daily Analysis definition file for the FileMetric sensor data type.
Example 24.3. hackySdt_FileMetric.filemetric.dailyanalysis.def.xml
<dailyanalysis> <analysis name="Project" class="org.hackystat.sdt.filemetric.dailyanalysis.ProjectDailyAnalysis" enable="true"/> <analysis name="File Metrics" class="org.hackystat.sdt.filemetric.dailyanalysis.MostActiveFileMetric" enable="true"/> <analysis name="Workspace" class="org.hackystat.sdt.filemetric.dailyanalysis.MostActiveFileWorkspace" enable="true"/> </dailyanalysis>
The definition file specifies three daily analyses, each of which can be displayed as a single column in the Daily Diary command.