class TaskJuggler::ReportServerIface
Public Class Methods
new(server)
click to toggle source
# File lib/taskjuggler/daemon/ReportServer.rb, line 202 def initialize(server) @server = server end
Public Instance Methods
addFile(authKey, file)
click to toggle source
# File lib/taskjuggler/daemon/ReportServer.rb, line 212 def addFile(authKey, file) return false unless @server.checkKey(authKey, 'addFile') trap { @server.addFile(file) } end
checkStatusSheet(authKey, sheet)
click to toggle source
# File lib/taskjuggler/daemon/ReportServer.rb, line 240 def checkStatusSheet(authKey, sheet) return false unless @server.checkKey(authKey, 'checkStatusSheet') trap { @server.checkStatusSheet(sheet) } end
checkTimeSheet(authKey, sheet)
click to toggle source
# File lib/taskjuggler/daemon/ReportServer.rb, line 234 def checkTimeSheet(authKey, sheet) return false unless @server.checkKey(authKey, 'checkTimeSheet') trap { @server.checkTimeSheet(sheet) } end
generateReport(authKey, reportId, regExpMode, formats, dynamicAttributes)
click to toggle source
# File lib/taskjuggler/daemon/ReportServer.rb, line 218 def generateReport(authKey, reportId, regExpMode, formats, dynamicAttributes) return false unless @server.checkKey(authKey, 'generateReport') trap do @server.generateReport(reportId, regExpMode, formats, dynamicAttributes) end end
listReports(authKey, reportId, regExpMode)
click to toggle source
# File lib/taskjuggler/daemon/ReportServer.rb, line 228 def listReports(authKey, reportId, regExpMode) return false unless @server.checkKey(authKey, 'generateReport') trap { @server.listReports(reportId, regExpMode) } end
ping(authKey)
click to toggle source
# File lib/taskjuggler/daemon/ReportServer.rb, line 206 def ping(authKey) return false unless @server.checkKey(authKey, 'addFile') trap { @server.ping } end