pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.statistics
Class SendReportEmailJoblet.ReportPDFResult

java.lang.Object
  extended by org.torweg.pulse.component.statistics.SendReportEmailJoblet.ReportPDFResult
Enclosing class:
SendReportEmailJoblet

protected static final class SendReportEmailJoblet.ReportPDFResult
extends java.lang.Object

Result collection container.

Version:
$Revision: 2026 $
Author:
Daniel Dietz

Constructor Summary
protected SendReportEmailJoblet.ReportPDFResult()
          Default constructor.
 
Method Summary
protected  void addResultAndFiles(AbstractStatisticsViewControllerResult<?> result, java.util.Map<java.lang.String,java.io.File> fM)
          Adds the given result to the result collection and the given file map to the internal file map.
protected  java.util.Map<java.lang.String,java.io.File> getFileMap()
          Returns the file map.
protected  java.util.Set<AbstractStatisticsViewControllerResult<?>> getResults()
          Returns the results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendReportEmailJoblet.ReportPDFResult

protected SendReportEmailJoblet.ReportPDFResult()
Default constructor.

Method Detail

getResults

protected java.util.Set<AbstractStatisticsViewControllerResult<?>> getResults()
Returns the results.

Returns:
the results

addResultAndFiles

protected void addResultAndFiles(AbstractStatisticsViewControllerResult<?> result,
                                 java.util.Map<java.lang.String,java.io.File> fM)
Adds the given result to the result collection and the given file map to the internal file map.

Adding null or empty file map is simply being ignored.

Parameters:
result - the result to add
fM - the file map to add

getFileMap

protected java.util.Map<java.lang.String,java.io.File> getFileMap()
Returns the file map.

Returns:
the fileMap