Class AvailabilityCalculatorImpl

  • All Implemented Interfaces:
    AvailabilityCalculator

    public class AvailabilityCalculatorImpl
    extends Object
    implements AvailabilityCalculator
    AvailabilityCalculator is a partial refactoring of AvailabilityReport that removes the responsibility for rendering the report. This can now be found in the ReportRenderer implementations HTMLReportRenderer and PDFReportRenderer (for batch-mode report rendering) and in the availability report viewer service and its associated views. Depending on the type of reportStore configured, Availability Calculator will marshal the availability report to either a predefined file on disk, or a file on disk with attendant report locator table entry. This table entry can be used later to retrieve the ready run report. The object needs a string representation for the month in the year. This is unnecessarily complex for the information that it conveys and should be changed. TODO: This is still not locale independent.
    Author:
    Jonathan Sartin