Methods

Class Index [+]

Quicksearch

TaskJuggler::StatusSheetReceiver

This class specializes SheetReceiver to process status sheets.

Public Class Methods

new(appName) click to toggle source
    # File lib/taskjuggler/StatusSheetReceiver.rb, line 21
21:     def initialize(appName)
22:       super(appName, 'status')
23: 
24:       @tj3clientOption = 'check-ss'
25: 
26:       # File name and directory settings.
27:       @sheetDir = 'StatusSheets'
28:       @templateDir = 'StatusSheetTemplates'
29:       @failedMailsDir = "#{@sheetDir}/FailedMails"
30:       @failedSheetsDir = "#{@sheetDir}/FailedSheets"
31:       # This file contains the time intervals that the StatusSheetReceiver will
32:       # accept as a valid interval.
33:       @signatureFile = "#{@templateDir}/acceptable_intervals"
34:       # The log file
35:       @logFile = 'statussheets.log'
36: 
37:       # Regular expression to identify status sheets.
38:       @sheetHeader = /^[ ]*statussheet\s([a-z][a-z0-9_]*)\s[0-9\-:+]*\s-\s([0-9]*-[0-9]*-[0-9]*)/
39:       # Regular expression to extract the sheet signature (time period).
40:       @signatureFilter = /^[ ]*statussheet\s[a-z][a-z0-9_]*\s([0-9:\-+]*\s-\s[0-9:\-+]*)/
41:       @emailSubject = "Status report from %s for %s"
42:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.