### Home Classes Methods

### In Files

- lib/taskjuggler/SyntaxReference.rb
- lib/taskjuggler/daemon/ReportServlet.rb
- lib/taskjuggler/daemon/ProjectBroker.rb
- lib/taskjuggler/daemon/WebServer.rb
- lib/taskjuggler/daemon/Daemon.rb
- lib/taskjuggler/daemon/ReportServer.rb
- lib/taskjuggler/daemon/DaemonConnector.rb
- lib/taskjuggler/daemon/ProcessIntercom.rb
- lib/taskjuggler/daemon/ProjectServer.rb
- lib/taskjuggler/daemon/WelcomePage.rb
- lib/taskjuggler/FileList.rb
- lib/taskjuggler/AttributeDefinition.rb
- lib/taskjuggler/ResourceScenario.rb
- lib/taskjuggler/Allocation.rb
- lib/taskjuggler/TableColumnDefinition.rb
- lib/taskjuggler/TaskDependency.rb
- lib/taskjuggler/PropertySet.rb
- lib/taskjuggler/Journal.rb
- lib/taskjuggler/RealFormat.rb
- lib/taskjuggler/Project.rb
- lib/taskjuggler/ShiftAssignments.rb
- lib/taskjuggler/Booking.rb
- lib/taskjuggler/SheetHandlerBase.rb
- lib/taskjuggler/ShiftScenario.rb
- lib/taskjuggler/AccountScenario.rb
- lib/taskjuggler/Shift.rb
- lib/taskjuggler/ProjectFileScanner.rb
- lib/taskjuggler/TimeSheetSender.rb
- lib/taskjuggler/Charge.rb
- lib/taskjuggler/PTNProxy.rb
- lib/taskjuggler/TjpSyntaxRules.rb
- lib/taskjuggler/Attributes.rb
- lib/taskjuggler/Interval.rb
- lib/taskjuggler/KeywordArray.rb
- lib/taskjuggler/VimSyntax.rb
- lib/taskjuggler/Painter.rb
- lib/taskjuggler/WorkingHours.rb
- lib/taskjuggler/PropertyTreeNode.rb
- lib/taskjuggler/apps/Tj3WebD.rb
- lib/taskjuggler/apps/Tj3.rb
- lib/taskjuggler/apps/Tj3TsReceiver.rb
- lib/taskjuggler/apps/Tj3Man.rb
- lib/taskjuggler/apps/Tj3SsSender.rb
- lib/taskjuggler/apps/Tj3Daemon.rb
- lib/taskjuggler/apps/Tj3SsReceiver.rb
- lib/taskjuggler/apps/Tj3TsSender.rb
- lib/taskjuggler/apps/Tj3Client.rb
- lib/taskjuggler/apps/Tj3TsSummary.rb
- lib/taskjuggler/Query.rb
- lib/taskjuggler/TextFormatter.rb
- lib/taskjuggler/TjTime.rb
- lib/taskjuggler/TjException.rb
- lib/taskjuggler/KateSyntax.rb
- lib/taskjuggler/HTMLDocument.rb
- lib/taskjuggler/SheetSender.rb
- lib/taskjuggler/IntervalList.rb
- lib/taskjuggler/SimpleQueryExpander.rb
- lib/taskjuggler/StatusSheetSender.rb
- lib/taskjuggler/Scoreboard.rb
- lib/taskjuggler/URLParameter.rb
- lib/taskjuggler/StatusSheetReceiver.rb
- lib/taskjuggler/ICalendar.rb
- lib/taskjuggler/AccountCredit.rb
- lib/taskjuggler/AlertLevelDefinitions.rb
- lib/taskjuggler/HTMLElements.rb
- lib/taskjuggler/MessageHandler.rb
- lib/taskjuggler/RichText.rb
- lib/taskjuggler/BatchProcessor.rb
- lib/taskjuggler/Task.rb
- lib/taskjuggler/UserManual.rb
- lib/taskjuggler/LogicalFunction.rb
- lib/taskjuggler/Account.rb
- lib/taskjuggler/ScenarioData.rb
- lib/taskjuggler/TextParser/SourceFileInfo.rb
- lib/taskjuggler/ChargeSet.rb
- lib/taskjuggler/Tj3AppBase.rb
- lib/taskjuggler/SheetReceiver.rb
- lib/taskjuggler/TimeSheetReceiver.rb
- lib/taskjuggler/Scenario.rb
- lib/taskjuggler/TimeSheets.rb
- lib/taskjuggler/TaskJuggler.rb
- lib/taskjuggler/Log.rb
- lib/taskjuggler/KeywordDocumentation.rb
- lib/taskjuggler/RichText/FunctionExample.rb
- lib/taskjuggler/RichText/RTFHandlers.rb
- lib/taskjuggler/RichText/FunctionHandler.rb
- lib/taskjuggler/RichText/RTFWithQuerySupport.rb
- lib/taskjuggler/RichText/RTFReportLink.rb
- lib/taskjuggler/RichText/Scanner.rb
- lib/taskjuggler/RichText/TableOfContents.rb
- lib/taskjuggler/RichText/Document.rb
- lib/taskjuggler/RichText/Parser.rb
- lib/taskjuggler/RichText/RTFQuery.rb
- lib/taskjuggler/RichText/RTFReport.rb
- lib/taskjuggler/RichText/Element.rb
- lib/taskjuggler/RichText/SyntaxRules.rb
- lib/taskjuggler/RichText/Snip.rb
- lib/taskjuggler/RichText/RTFNavigator.rb
- lib/taskjuggler/RichText/TOCEntry.rb
- lib/taskjuggler/LogicalExpression.rb
- lib/taskjuggler/Limits.rb
- lib/taskjuggler/TableColumnSorter.rb
- lib/taskjuggler/TernarySearchTree.rb
- lib/taskjuggler/LeaveList.rb
- lib/taskjuggler/XMLElement.rb
- lib/taskjuggler/LogicalOperation.rb
- lib/taskjuggler/PropertyList.rb
- lib/taskjuggler/StdIoWrapper.rb
- lib/taskjuggler/ProjectFileParser.rb
- lib/taskjuggler/TextParser.rb
- lib/taskjuggler/TaskScenario.rb
- lib/taskjuggler/AttributeBase.rb
- lib/taskjuggler/DataCache.rb
- lib/taskjuggler/XMLDocument.rb
- lib/taskjuggler/Resource.rb
- lib/taskjuggler/TjpExample.rb
- lib/taskjuggler/reports/TraceReport.rb
- lib/taskjuggler/reports/ResourceListRE.rb
- lib/taskjuggler/reports/ReportBase.rb
- lib/taskjuggler/reports/AccountListRE.rb
- lib/taskjuggler/reports/ReportTableColumn.rb
- lib/taskjuggler/reports/Report.rb
- lib/taskjuggler/reports/ReportTable.rb
- lib/taskjuggler/reports/ChartPlotter.rb
- lib/taskjuggler/reports/TextReport.rb
- lib/taskjuggler/reports/TimeSheetReport.rb
- lib/taskjuggler/reports/TableReportColumn.rb
- lib/taskjuggler/reports/StatusSheetReport.rb
- lib/taskjuggler/reports/HTMLGraphics.rb
- lib/taskjuggler/reports/Navigator.rb
- lib/taskjuggler/reports/ExportRE.rb
- lib/taskjuggler/reports/GanttHeaderScaleItem.rb
- lib/taskjuggler/reports/TaskListRE.rb
- lib/taskjuggler/reports/ICalReport.rb
- lib/taskjuggler/reports/GanttTaskBar.rb
- lib/taskjuggler/reports/CollisionDetector.rb
- lib/taskjuggler/reports/MspXmlRE.rb
- lib/taskjuggler/reports/GanttContainer.rb
- lib/taskjuggler/reports/ReportTableLegend.rb
- lib/taskjuggler/reports/GanttLine.rb
- lib/taskjuggler/reports/GanttLoadStack.rb
- lib/taskjuggler/reports/ReportTableCell.rb
- lib/taskjuggler/reports/ReportContext.rb
- lib/taskjuggler/reports/GanttChart.rb
- lib/taskjuggler/reports/GanttHeader.rb
- lib/taskjuggler/reports/ReportTableLine.rb
- lib/taskjuggler/reports/GanttMilestone.rb
- lib/taskjuggler/reports/TagFile.rb
- lib/taskjuggler/reports/GanttRouter.rb
- lib/taskjuggler/reports/TjpExportRE.rb
- lib/taskjuggler/reports/NikuReport.rb
- lib/taskjuggler/reports/ColumnTable.rb
- lib/taskjuggler/reports/TableReport.rb
- lib/taskjuggler/reports/CSVFile.rb
- lib/taskjuggler/Painter/BasicShapes.rb
- lib/taskjuggler/Painter/FontMetricsData.rb
- lib/taskjuggler/Painter/Points.rb
- lib/taskjuggler/Painter/Text.rb
- lib/taskjuggler/Painter/SVGSupport.rb
- lib/taskjuggler/Painter/Element.rb
- lib/taskjuggler/Painter/FontData.rb
- lib/taskjuggler/Painter/Primitives.rb
- lib/taskjuggler/Painter/FontMetrics.rb
- lib/taskjuggler/Painter/Group.rb
- lib/taskjuggler/Painter/Color.rb
- lib/taskjuggler/TimeSheetSummary.rb
- lib/taskjuggler/Tj3SheetAppBase.rb

### Parent

Object

### Namespace

- MODULE TaskJuggler::DaemonConnectorMixin
- MODULE TaskJuggler::HTMLElements
- MODULE TaskJuggler::HTMLGraphics
- MODULE TaskJuggler::MessageHandler
- MODULE TaskJuggler::ProcessIntercom
- MODULE TaskJuggler::ProcessIntercomIface
- MODULE TaskJuggler::RichTextSyntaxRules
- MODULE TaskJuggler::StdIoWrapper
- MODULE TaskJuggler::TjpSyntaxRules
- CLASS TaskJuggler::Account
- CLASS TaskJuggler::AccountAttribute
- CLASS TaskJuggler::AccountCredit
- CLASS TaskJuggler::AccountCreditListAttribute
- CLASS TaskJuggler::AccountListRE
- CLASS TaskJuggler::AccountScenario
- CLASS TaskJuggler::AlertLevelDefinition
- CLASS TaskJuggler::AlertLevelDefinitions
- CLASS TaskJuggler::Allocation
- CLASS TaskJuggler::AllocationAttribute
- CLASS TaskJuggler::AttributeBase
- CLASS TaskJuggler::AttributeDefinition
- CLASS TaskJuggler::AttributeOverwrite
- CLASS TaskJuggler::BatchProcessor
- CLASS TaskJuggler::Booking
- CLASS TaskJuggler::BookingListAttribute
- CLASS TaskJuggler::BooleanAttribute
- CLASS TaskJuggler::CSVFile
- CLASS TaskJuggler::CellSettingPattern
- CLASS TaskJuggler::CellSettingPatternList
- CLASS TaskJuggler::Charge
- CLASS TaskJuggler::ChargeListAttribute
- CLASS TaskJuggler::ChargeSet
- CLASS TaskJuggler::ChargeSetListAttribute
- CLASS TaskJuggler::ChartPlotter
- CLASS TaskJuggler::ChartPlotterError
- CLASS TaskJuggler::CollisionDetector
- CLASS TaskJuggler::ColumnListAttribute
- CLASS TaskJuggler::ColumnTable
- CLASS TaskJuggler::Daemon
- CLASS TaskJuggler::DaemonConnector
- CLASS TaskJuggler::DataCache
- CLASS TaskJuggler::DataCacheEntry
- CLASS TaskJuggler::DateAttribute
- CLASS TaskJuggler::DefinitionListAttribute
- CLASS TaskJuggler::DependencyListAttribute
- CLASS TaskJuggler::DurationAttribute
- CLASS TaskJuggler::ExportRE
- CLASS TaskJuggler::FileList
- CLASS TaskJuggler::FileRecord
- CLASS TaskJuggler::FixnumAttribute
- CLASS TaskJuggler::FlagListAttribute
- CLASS TaskJuggler::FloatAttribute
- CLASS TaskJuggler::FormatListAttribute
- CLASS TaskJuggler::GanttChart
- CLASS TaskJuggler::GanttContainer
- CLASS TaskJuggler::GanttHeader
- CLASS TaskJuggler::GanttHeaderScaleItem
- CLASS TaskJuggler::GanttLine
- CLASS TaskJuggler::GanttLoadStack
- CLASS TaskJuggler::GanttMilestone
- CLASS TaskJuggler::GanttRouter
- CLASS TaskJuggler::GanttTaskBar
- CLASS TaskJuggler::HTMLDocument
- CLASS TaskJuggler::ICalReport
- CLASS TaskJuggler::ICalendar
- CLASS TaskJuggler::Interval
- CLASS TaskJuggler::IntervalList
- CLASS TaskJuggler::JobInfo
- CLASS TaskJuggler::Journal
- CLASS TaskJuggler::JournalEntry
- CLASS TaskJuggler::JournalEntryList
- CLASS TaskJuggler::JournalSortListAttribute
- CLASS TaskJuggler::KateSyntax
- CLASS TaskJuggler::KeywordArray
- CLASS TaskJuggler::KeywordDocumentation
- CLASS TaskJuggler::Leave
- CLASS TaskJuggler::LeaveAllowance
- CLASS TaskJuggler::LeaveAllowanceList
- CLASS TaskJuggler::LeaveAllowanceListAttribute
- CLASS TaskJuggler::LeaveList
- CLASS TaskJuggler::LeaveListAttribute
- CLASS TaskJuggler::Limits
- CLASS TaskJuggler::LimitsAttribute
- CLASS TaskJuggler::ListAttributeBase
- CLASS TaskJuggler::Log
- CLASS TaskJuggler::LogicalAttribute
- CLASS TaskJuggler::LogicalExpression
- CLASS TaskJuggler::LogicalExpressionAttribute
- CLASS TaskJuggler::LogicalExpressionListAttribute
- CLASS TaskJuggler::LogicalFlag
- CLASS TaskJuggler::LogicalFunction
- CLASS TaskJuggler::LogicalOperation
- CLASS TaskJuggler::ManagerResponsibilities
- CLASS TaskJuggler::ManagerStatusRecord
- CLASS TaskJuggler::Message
- CLASS TaskJuggler::MessageHandlerInstance
- CLASS TaskJuggler::MspXmlRE
- CLASS TaskJuggler::Navigator
- CLASS TaskJuggler::NavigatorElement
- CLASS TaskJuggler::NikuProject
- CLASS TaskJuggler::NikuReport
- CLASS TaskJuggler::NikuResource
- CLASS TaskJuggler::NodeListAttribute
- CLASS TaskJuggler::PTNProxy
- CLASS TaskJuggler::Painter
- CLASS TaskJuggler::PlaceHolderCell
- CLASS TaskJuggler::Project
- CLASS TaskJuggler::ProjectBroker
- CLASS TaskJuggler::ProjectBrokerIface
- CLASS TaskJuggler::ProjectFileParser
- CLASS TaskJuggler::ProjectFileScanner
- CLASS TaskJuggler::ProjectRecord
- CLASS TaskJuggler::ProjectServer
- CLASS TaskJuggler::ProjectServerIface
- CLASS TaskJuggler::PropertyAttribute
- CLASS TaskJuggler::PropertyList
- CLASS TaskJuggler::PropertySet
- CLASS TaskJuggler::PropertyTreeNode
- CLASS TaskJuggler::Query
- CLASS TaskJuggler::RTFHandlers
- CLASS TaskJuggler::RTFNavigator
- CLASS TaskJuggler::RTFQuery
- CLASS TaskJuggler::RTFReport
- CLASS TaskJuggler::RTFReportLink
- CLASS TaskJuggler::RTFWithQuerySupport
- CLASS TaskJuggler::RealFormat
- CLASS TaskJuggler::RealFormatAttribute
- CLASS TaskJuggler::ReferenceAttribute
- CLASS TaskJuggler::Report
- CLASS TaskJuggler::ReportBase
- CLASS TaskJuggler::ReportContext
- CLASS TaskJuggler::ReportScenario
- CLASS TaskJuggler::ReportServer
- CLASS TaskJuggler::ReportServerIface
- CLASS TaskJuggler::ReportServerRecord
- CLASS TaskJuggler::ReportServlet
- CLASS TaskJuggler::ReportTable
- CLASS TaskJuggler::ReportTableCell
- CLASS TaskJuggler::ReportTableColumn
- CLASS TaskJuggler::ReportTableLegend
- CLASS TaskJuggler::ReportTableLine
- CLASS TaskJuggler::Resource
- CLASS TaskJuggler::ResourceListAttribute
- CLASS TaskJuggler::ResourceListRE
- CLASS TaskJuggler::ResourceScenario
- CLASS TaskJuggler::RichText
- CLASS TaskJuggler::RichTextAttribute
- CLASS TaskJuggler::RichTextDocument
- CLASS TaskJuggler::RichTextElement
- CLASS TaskJuggler::RichTextFunctionExample
- CLASS TaskJuggler::RichTextFunctionHandler
- CLASS TaskJuggler::RichTextImage
- CLASS TaskJuggler::RichTextIntermediate
- CLASS TaskJuggler::RichTextParser
- CLASS TaskJuggler::RichTextScanner
- CLASS TaskJuggler::RichTextSnip
- CLASS TaskJuggler::Scenario
- CLASS TaskJuggler::ScenarioData
- CLASS TaskJuggler::ScenarioListAttribute
- CLASS TaskJuggler::Scoreboard
- CLASS TaskJuggler::ScoreboardInterval
- CLASS TaskJuggler::SheetHandlerBase
- CLASS TaskJuggler::SheetReceiver
- CLASS TaskJuggler::SheetSender
- CLASS TaskJuggler::Shift
- CLASS TaskJuggler::ShiftAssignment
- CLASS TaskJuggler::ShiftAssignments
- CLASS TaskJuggler::ShiftAssignmentsAttribute
- CLASS TaskJuggler::ShiftScenario
- CLASS TaskJuggler::SimpleQueryExpander
- CLASS TaskJuggler::SortListAttribute
- CLASS TaskJuggler::StatusSheetReceiver
- CLASS TaskJuggler::StatusSheetReport
- CLASS TaskJuggler::StatusSheetSender
- CLASS TaskJuggler::StringAttribute
- CLASS TaskJuggler::SymbolAttribute
- CLASS TaskJuggler::SymbolListAttribute
- CLASS TaskJuggler::SyntaxReference
- CLASS TaskJuggler::TOCEntry
- CLASS TaskJuggler::TSResourceRecord
- CLASS TaskJuggler::TSTaskRecord
- CLASS TaskJuggler::TableColumnDefinition
- CLASS TaskJuggler::TableColumnSorter
- CLASS TaskJuggler::TableOfContents
- CLASS TaskJuggler::TableReport
- CLASS TaskJuggler::TableReportColumn
- CLASS TaskJuggler::TagFile
- CLASS TaskJuggler::Task
- CLASS TaskJuggler::TaskDepListAttribute
- CLASS TaskJuggler::TaskDependency
- CLASS TaskJuggler::TaskListAttribute
- CLASS TaskJuggler::TaskListRE
- CLASS TaskJuggler::TaskScenario
- CLASS TaskJuggler::TernarySearchTree
- CLASS TaskJuggler::TextFormatter
- CLASS TaskJuggler::TextParser
- CLASS TaskJuggler::TextReport
- CLASS TaskJuggler::TimeInterval
- CLASS TaskJuggler::TimeIntervalListAttribute
- CLASS TaskJuggler::TimeSheet
- CLASS TaskJuggler::TimeSheetReceiver
- CLASS TaskJuggler::TimeSheetRecord
- CLASS TaskJuggler::TimeSheetReport
- CLASS TaskJuggler::TimeSheetSender
- CLASS TaskJuggler::TimeSheetSummary
- CLASS TaskJuggler::TimeSheets
- CLASS TaskJuggler::Tj3
- CLASS TaskJuggler::Tj3AppBase
- CLASS TaskJuggler::Tj3Client
- CLASS TaskJuggler::Tj3Daemon
- CLASS TaskJuggler::Tj3Man
- CLASS TaskJuggler::Tj3SheetAppBase
- CLASS TaskJuggler::Tj3SsReceiver
- CLASS TaskJuggler::Tj3SsSender
- CLASS TaskJuggler::Tj3TsReceiver
- CLASS TaskJuggler::Tj3TsSender
- CLASS TaskJuggler::Tj3TsSummary
- CLASS TaskJuggler::Tj3WebD
- CLASS TaskJuggler::TjException
- CLASS TaskJuggler::TjRuntimeError
- CLASS TaskJuggler::TjTime
- CLASS TaskJuggler::TjpExample
- CLASS TaskJuggler::TjpExportRE
- CLASS TaskJuggler::TraceReport
- CLASS TaskJuggler::URLParameter
- CLASS TaskJuggler::UserManual
- CLASS TaskJuggler::VimSyntax
- CLASS TaskJuggler::WebServer
- CLASS TaskJuggler::WelcomePage
- CLASS TaskJuggler::WorkingHours
- CLASS TaskJuggler::WorkingHoursAttribute
- CLASS TaskJuggler::XMLBlob
- CLASS TaskJuggler::XMLComment
- CLASS TaskJuggler::XMLDocument
- CLASS TaskJuggler::XMLElement
- CLASS TaskJuggler::XMLNamedText
- CLASS TaskJuggler::XMLText

### Methods

- ::new
- #checkStatusSheet
- #checkTimeSheet
- #errors
- #freeze
- #generateReport
- #generateReports
- #listReports
- #parse
- #parseFile
- #projectId
- #projectName
- #schedule

### Included Modules

- TaskJuggler::MessageHandler

### Files

- CHANGELOG
- COPYING
- README.rdoc

### Class/Module Index

Quicksearch

- TaskJuggler
- TaskJuggler::Account
- TaskJuggler::AccountAttribute
- TaskJuggler::AccountCredit
- TaskJuggler::AccountCreditListAttribute
- TaskJuggler::AccountListRE
- TaskJuggler::AccountScenario
- TaskJuggler::AlertLevelDefinition
- TaskJuggler::AlertLevelDefinitions
- TaskJuggler::Allocation
- TaskJuggler::AllocationAttribute
- TaskJuggler::AttributeBase
- TaskJuggler::AttributeDefinition
- TaskJuggler::AttributeOverwrite
- TaskJuggler::BatchProcessor
- TaskJuggler::Booking
- TaskJuggler::BookingListAttribute
- TaskJuggler::BooleanAttribute
- TaskJuggler::CSVFile
- TaskJuggler::CellSettingPattern
- TaskJuggler::CellSettingPatternList
- TaskJuggler::Charge
- TaskJuggler::ChargeListAttribute
- TaskJuggler::ChargeSet
- TaskJuggler::ChargeSetListAttribute
- TaskJuggler::ChartPlotter
- TaskJuggler::ChartPlotterError
- TaskJuggler::CollisionDetector
- TaskJuggler::ColumnListAttribute
- TaskJuggler::ColumnTable
- TaskJuggler::Daemon
- TaskJuggler::DaemonConnector
- TaskJuggler::DaemonConnectorMixin
- TaskJuggler::DataCache
- TaskJuggler::DataCacheEntry
- TaskJuggler::DateAttribute
- TaskJuggler::DefinitionListAttribute
- TaskJuggler::DependencyListAttribute
- TaskJuggler::DurationAttribute
- TaskJuggler::ExportRE
- TaskJuggler::FileList
- TaskJuggler::FileRecord
- TaskJuggler::FixnumAttribute
- TaskJuggler::FlagListAttribute
- TaskJuggler::FloatAttribute
- TaskJuggler::FormatListAttribute
- TaskJuggler::GanttChart
- TaskJuggler::GanttContainer
- TaskJuggler::GanttHeader
- TaskJuggler::GanttHeaderScaleItem
- TaskJuggler::GanttLine
- TaskJuggler::GanttLoadStack
- TaskJuggler::GanttMilestone
- TaskJuggler::GanttRouter
- TaskJuggler::GanttTaskBar
- TaskJuggler::HTMLDocument
- TaskJuggler::HTMLElements
- TaskJuggler::HTMLGraphics
- TaskJuggler::ICalReport
- TaskJuggler::ICalendar
- TaskJuggler::ICalendar::Component
- TaskJuggler::ICalendar::Event
- TaskJuggler::ICalendar::Journal
- TaskJuggler::ICalendar::Person
- TaskJuggler::ICalendar::Todo
- TaskJuggler::Interval
- TaskJuggler::IntervalList
- TaskJuggler::JobInfo
- TaskJuggler::Journal
- TaskJuggler::JournalEntry
- TaskJuggler::JournalEntryList
- TaskJuggler::JournalSortListAttribute
- TaskJuggler::KateSyntax
- TaskJuggler::KeywordArray
- TaskJuggler::KeywordDocumentation
- TaskJuggler::Leave
- TaskJuggler::LeaveAllowance
- TaskJuggler::LeaveAllowanceList
- TaskJuggler::LeaveAllowanceListAttribute
- TaskJuggler::LeaveList
- TaskJuggler::LeaveListAttribute
- TaskJuggler::Limits
- TaskJuggler::Limits::Limit
- TaskJuggler::LimitsAttribute
- TaskJuggler::ListAttributeBase
- TaskJuggler::Log
- TaskJuggler::LogicalAttribute
- TaskJuggler::LogicalExpression
- TaskJuggler::LogicalExpressionAttribute
- TaskJuggler::LogicalExpressionListAttribute
- TaskJuggler::LogicalFlag
- TaskJuggler::LogicalFunction
- TaskJuggler::LogicalOperation
- TaskJuggler::ManagerResponsibilities
- TaskJuggler::ManagerStatusRecord
- TaskJuggler::Message
- TaskJuggler::MessageHandler
- TaskJuggler::MessageHandlerInstance
- TaskJuggler::MspXmlRE
- TaskJuggler::Navigator
- TaskJuggler::NavigatorElement
- TaskJuggler::NikuProject
- TaskJuggler::NikuReport
- TaskJuggler::NikuResource
- TaskJuggler::NodeListAttribute
- TaskJuggler::PTNProxy
- TaskJuggler::Painter
- TaskJuggler::Painter::Circle
- TaskJuggler::Painter::Color
- TaskJuggler::Painter::Element
- TaskJuggler::Painter::Ellipse
- TaskJuggler::Painter::FontMetrics
- TaskJuggler::Painter::FontMetricsData
- TaskJuggler::Painter::Group
- TaskJuggler::Painter::Line
- TaskJuggler::Painter::Points
- TaskJuggler::Painter::PolyLine
- TaskJuggler::Painter::Primitives
- TaskJuggler::Painter::Rect
- TaskJuggler::Painter::SVGSupport
- TaskJuggler::Painter::Text
- TaskJuggler::PlaceHolderCell
- TaskJuggler::ProcessIntercom
- TaskJuggler::ProcessIntercomIface
- TaskJuggler::Project
- TaskJuggler::ProjectBroker
- TaskJuggler::ProjectBrokerIface
- TaskJuggler::ProjectFileParser
- TaskJuggler::ProjectFileScanner
- TaskJuggler::ProjectRecord
- TaskJuggler::ProjectServer
- TaskJuggler::ProjectServerIface
- TaskJuggler::PropertyAttribute
- TaskJuggler::PropertyList
- TaskJuggler::PropertySet
- TaskJuggler::PropertyTreeNode
- TaskJuggler::Query
- TaskJuggler::RTFHandlers
- TaskJuggler::RTFNavigator
- TaskJuggler::RTFQuery
- TaskJuggler::RTFReport
- TaskJuggler::RTFReportLink
- TaskJuggler::RTFWithQuerySupport
- TaskJuggler::RealFormat
- TaskJuggler::RealFormatAttribute
- TaskJuggler::ReferenceAttribute
- TaskJuggler::Report
- TaskJuggler::ReportBase
- TaskJuggler::ReportContext
- TaskJuggler::ReportScenario
- TaskJuggler::ReportServer
- TaskJuggler::ReportServerIface
- TaskJuggler::ReportServerRecord
- TaskJuggler::ReportServlet
- TaskJuggler::ReportTable
- TaskJuggler::ReportTableCell
- TaskJuggler::ReportTableColumn
- TaskJuggler::ReportTableLegend
- TaskJuggler::ReportTableLine
- TaskJuggler::Resource
- TaskJuggler::ResourceListAttribute
- TaskJuggler::ResourceListRE
- TaskJuggler::ResourceScenario
- TaskJuggler::RichText
- TaskJuggler::RichTextAttribute
- TaskJuggler::RichTextDocument
- TaskJuggler::RichTextElement
- TaskJuggler::RichTextFunctionExample
- TaskJuggler::RichTextFunctionHandler
- TaskJuggler::RichTextImage
- TaskJuggler::RichTextIntermediate
- TaskJuggler::RichTextParser
- TaskJuggler::RichTextScanner
- TaskJuggler::RichTextSnip
- TaskJuggler::RichTextSyntaxRules
- TaskJuggler::Scenario
- TaskJuggler::ScenarioData
- TaskJuggler::ScenarioListAttribute
- TaskJuggler::Scoreboard
- TaskJuggler::ScoreboardInterval
- TaskJuggler::SheetHandlerBase
- TaskJuggler::SheetReceiver
- TaskJuggler::SheetSender
- TaskJuggler::Shift
- TaskJuggler::ShiftAssignment
- TaskJuggler::ShiftAssignments
- TaskJuggler::ShiftAssignmentsAttribute
- TaskJuggler::ShiftScenario
- TaskJuggler::SimpleQueryExpander
- TaskJuggler::SortListAttribute
- TaskJuggler::StatusSheetReceiver
- TaskJuggler::StatusSheetReport
- TaskJuggler::StatusSheetSender
- TaskJuggler::StdIoWrapper
- TaskJuggler::StringAttribute
- TaskJuggler::SymbolAttribute
- TaskJuggler::SymbolListAttribute
- TaskJuggler::SyntaxReference
- TaskJuggler::TOCEntry
- TaskJuggler::TSResourceRecord
- TaskJuggler::TSTaskRecord
- TaskJuggler::TableColumnDefinition
- TaskJuggler::TableColumnSorter
- TaskJuggler::TableOfContents
- TaskJuggler::TableReport
- TaskJuggler::TableReportColumn
- TaskJuggler::TagFile
- TaskJuggler::TagFile::TagFileEntry
- TaskJuggler::Task
- TaskJuggler::TaskDepListAttribute
- TaskJuggler::TaskDependency
- TaskJuggler::TaskListAttribute
- TaskJuggler::TaskListRE
- TaskJuggler::TaskScenario
- TaskJuggler::TernarySearchTree
- TaskJuggler::TextFormatter
- TaskJuggler::TextParser
- TaskJuggler::TextParser::Macro
- TaskJuggler::TextParser::MacroTable
- TaskJuggler::TextParser::Pattern
- TaskJuggler::TextParser::Rule
- TaskJuggler::TextParser::Scanner
- TaskJuggler::TextParser::Scanner::BufferStreamHandle
- TaskJuggler::TextParser::Scanner::FileStreamHandle
- TaskJuggler::TextParser::Scanner::MacroStackEntry
- TaskJuggler::TextParser::Scanner::StreamHandle
- TaskJuggler::TextParser::SourceFileInfo
- TaskJuggler::TextParser::StackElement
- TaskJuggler::TextParser::State
- TaskJuggler::TextParser::StateTransition
- TaskJuggler::TextParser::TextParserResultArray
- TaskJuggler::TextParser::TokenDoc
- TaskJuggler::TextReport
- TaskJuggler::TimeInterval
- TaskJuggler::TimeIntervalListAttribute
- TaskJuggler::TimeSheet
- TaskJuggler::TimeSheetReceiver
- TaskJuggler::TimeSheetRecord
- TaskJuggler::TimeSheetReport
- TaskJuggler::TimeSheetSender
- TaskJuggler::TimeSheetSummary
- TaskJuggler::TimeSheets
- TaskJuggler::Tj3
- TaskJuggler::Tj3AppBase
- TaskJuggler::Tj3Client
- TaskJuggler::Tj3Daemon
- TaskJuggler::Tj3Man
- TaskJuggler::Tj3SheetAppBase
- TaskJuggler::Tj3SsReceiver
- TaskJuggler::Tj3SsSender
- TaskJuggler::Tj3TsReceiver
- TaskJuggler::Tj3TsSender
- TaskJuggler::Tj3TsSummary
- TaskJuggler::Tj3WebD
- TaskJuggler::TjException
- TaskJuggler::TjRuntimeError
- TaskJuggler::TjTime
- TaskJuggler::TjpExample
- TaskJuggler::TjpExportRE
- TaskJuggler::TjpSyntaxRules
- TaskJuggler::TraceReport
- TaskJuggler::URLParameter
- TaskJuggler::UserManual
- TaskJuggler::VimSyntax
- TaskJuggler::WebServer
- TaskJuggler::WelcomePage
- TaskJuggler::WorkingHours
- TaskJuggler::WorkingHoursAttribute
- TaskJuggler::XMLBlob
- TaskJuggler::XMLComment
- TaskJuggler::XMLDocument
- TaskJuggler::XMLElement
- TaskJuggler::XMLNamedText
- TaskJuggler::XMLText
- Diff
- Diff::Hunk
- AppConfig
- Diffable
- DiffableString
- Object
- RuntimeConfig
- String

No matching classes.

# TaskJuggler

# FileList.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# AttributeDefinition.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# TableColumnDefinition.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# TaskDependency.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# RealFormat.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# Booking.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# PTNProxy.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# TjpSyntaxRules.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# KeywordArray.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# TjException.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# AccountCredit.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# AlertLevelDefinitions.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# SourceFileInfo.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# TimeSheets.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

The TaskJuggler class models the object that provides access to the fundamental features of the TaskJuggler software. It can read project files, schedule them and generate the reports.

# SyntaxRules.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# TableColumnSorter.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# LeaveList.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# StdIoWrapper.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# ReportBase.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# ReportTableColumn.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# TableReportColumn.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# HTMLGraphics.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# GanttHeaderScaleItem.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# ReportTableLegend.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# ReportTableCell.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# ReportContext.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# Painter.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# Points.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# SVGSupport.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

# Color.rb -- The TaskJuggler III Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012

    by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

### Attributes

generateTraces[RW]
maxCpuCores[RW]
project[R]
warnTsDeltas[RW]

### Public Class Methods

new() click to toggle source

Create a new TaskJuggler object. console is a boolean that determines whether or not messsages can be written to $stderr.

    # File lib/taskjuggler/TaskJuggler.rb, line 31
    def initialize
      @project = nil
      @parser = nil
      @maxCpuCores = 1
      @warnTsDeltas = false
      @generateTraces = false
      TjTime.setTimeZone('UTC')
    end

### Public Instance Methods

checkStatusSheet(fileName) click to toggle source

Check the content of the file fileName and interpret it as a status sheet. If the sheet is syntaxtically correct and matches the loaded project, true is returned. Otherwise false.

    # File lib/taskjuggler/TaskJuggler.rb, line 333
    def checkStatusSheet(fileName)
      begin
        Log.enter('checkStatusSheet', 'Parsing #{fileName} ...')

        # To use this feature, the user must have specified which scenario is
        # the tracking scenario.
        unless @project['trackingScenarioIdx']
          raise TjException.new, 'No trackingscenario defined'
        end

        return false unless (ss = parseFile(fileName, :statusSheetFile))
        queryAttrs = { 'project' => @project,
                       'property' => ss[0],
                       'scopeProperty' => nil,
                       'scenarioIdx' => @project['trackingScenarioIdx'],
                       'timeFormat' => '%Y-%m-%d',
                       'start' => ss[1],
                       'end' => ss[2],
                       'timeFormat' => '%Y-%m-%d',
                       'selfContained' => true }
        query = Query.new(queryAttrs)
        puts ss[0].query_dashboard(query).richText.inputText
      rescue TjException => msg
        if msg.message && !msg.message.empty?
          critical('check_status_sheet', msg.message)
        end
        Log.exit('checkStatusSheet')
        return false
      end
      Log.exit('checkStatusSheet')
      true
    end

checkTimeSheet(fileName) click to toggle source

Check the content of the file fileName and interpret it as a time sheet. If the sheet is syntaxtically correct and matches the loaded project, true is returned. Otherwise false.

    # File lib/taskjuggler/TaskJuggler.rb, line 289
    def checkTimeSheet(fileName)
      begin
        Log.enter('checkTimeSheet', 'Parsing #{fileName} ...')

        # To use this feature, the user must have specified which scenario is
        # the tracking scenario.
        unless @project['trackingScenarioIdx']
          raise TjException.new, 'No trackingscenario defined'
        end

        # Make sure we don't use data from old time sheets or Journal entries.
        @project.timeSheets.clear
        @project['journal'] = Journal.new
        return false unless (ts = parseFile(fileName, :timeSheetFile))
        return false unless @project.checkTimeSheets
        queryAttrs = { 'project' => @project,
                       'property' => ts.resource,
                       'scopeProperty' => nil,
                       'scenarioIdx' => @project['trackingScenarioIdx'],
                       'start' => ts.interval.start,
                       'end' => ts.interval.end,
                       'journalMode' => :journal,
                       'journalAttributes' => %( alert property propertyid
                                                  headline flags timesheet
                                                  summary details ),
                       'sortJournalEntries' => [ [ :seqno, 1 ] ],
                       'timeFormat' => '%Y-%m-%d',
                       'selfContained' => true }
        query = Query.new(queryAttrs)
        puts ts.resource.query_journal(query).richText.inputText
      rescue TjException => msg
        if msg.message && !msg.message.empty?
          critical('check_time_sheet', msg.message)
        end
        Log.exit('checkTimeSheet')
        return false
      end
      Log.exit('checkTimeSheet')
      true
    end

errors() click to toggle source

Return the number of errors that had been reported during processing.

    # File lib/taskjuggler/TaskJuggler.rb, line 379
    def errors
      MessageHandlerInstance.instance.errors
    end

freeze(freezeDate, taskBookings) click to toggle source

Generate an export report definition for bookings up to the freezeDate.

    # File lib/taskjuggler/TaskJuggler.rb, line 214
    def freeze(freezeDate, taskBookings)
      begin
        # Check the master file is really a file and not stdin.
        unless (masterFile = @project.inputFiles.masterFile)
          error('cannot_freeze_stdin',
                "The project freeze feature can only be used when the " +
                "master file is a real file, not standard input.")
        end

        # Derive the file names for the header and bookings file from the base
        # name of the master file.
        masterFileBase = Dir.pwd + '/' + File.basename(masterFile, '.tjp')
        headerFile = masterFileBase + '-header.tji'
        bookingsFileBase = masterFileBase + '-bookings'
        bookingsFile = bookingsFileBase + '.tji'

        if !File.exists?(bookingsFile) || !File.exists?(headerFile)
          info('incl_freeze_files',
               "Please make sure you include #{headerFile} at " +
               "the end of the project header and " +
               "#{bookingsFile} at the end of #{masterFile}.")
        end

        # Generate the project header include file with the new 'now' date.
        begin
          File.open(headerFile, 'w') do |f|
            f.puts("now #{freezeDate}")
          end
        rescue
          error('write_header_incl',
                "Cannote write header include file " +
                "#{headerFile}")
        end

        # Generate an export report for the bookings.
        report = Report.new(@project, '_bookings_', bookingsFileBase, nil)
        report.typeSpec = :export
        report.set('formats', [ :tjp ])
        report.inheritAttributes

        # We export only the tracking scenario.
        unless (trackingScenarioIdx = @project['trackingScenarioIdx'])
          error('no_tracking_scen', 'No trackingscenario defined')
        end
        report.set('scenarios', [ trackingScenarioIdx ])

        # Only generate bookings up to the freeze date.
        report.set('end', freezeDate)
        # Show all tasks, sorted by seqno-up.
        report.set('hideTask', LogicalExpression.new(LogicalOperation.new(0)))
        report.set('sortTasks', [ [ 'seqno', true, -1 ] ])
        # Show all resources, sorted by seqno-up.
        report.set('hideResource',
                    LogicalExpression.new(LogicalOperation.new(0)))
        report.set('sortResources', [ [ 'seqno', true, -1 ] ])
        # Only generate bookings, no other attributes or definitions.
        report.set('definitions', [])
        # We group the bookings by task or by resource depending on the user
        # request.
        if taskBookings
          report.set('taskAttributes', [ 'booking' ])
          report.set('resourceAttributes', [])
        else
          report.set('taskAttributes', [])
          report.set('resourceAttributes', [ 'booking' ])
        end
      rescue TjException
        return false
      end
      true
    end

generateReport(reportId, regExpMode, formats = nil, dynamicAttributes = nil) click to toggle source

Generate the report with the ID reportId. If regExpMode is true, reportId is interpreted as a Regular Expression and all reports with matching IDs are generated. formats is a list of formats (e. g. :html, :csv, etc.). dynamicAtributes is a String that may contain attributes to supplement the report definition. The String must be in TJP format and may be nil if no additional attributes are provided.

    # File lib/taskjuggler/TaskJuggler.rb, line 180
    def generateReport(reportId, regExpMode, formats = nil,
                       dynamicAttributes = nil)
      begin
        Log.enter('generateReport', 'Generating report #{reportId} ...')
        @project.generateReport(reportId, regExpMode, formats, dynamicAttributes)
      rescue TjException => msg
        if msg.message && !msg.message.empty?
          critical('generate_report', msg.message)
        end
        Log.exit('generateReport')
        return false
      end
      Log.exit('generateReport')
      true
    end

generateReports(outputDir = './') click to toggle source

Generate all specified reports. The project must have be scheduled before this method can be called. It returns true if no error occured, false otherwise.

    # File lib/taskjuggler/TaskJuggler.rb, line 145
    def generateReports(outputDir = './')
      @project.checkReports
      outputDir += '/' unless outputDir.empty? || outputDir[-1] == '/'
      @project.outputDir = outputDir
      Log.enter('reports', 'Generating reports ...')

      begin
        #RubyProf.start
        @project.generateReports(@maxCpuCores)
        #profile = RubyProf.stop
        #printer = RubyProf::GraphHtmlPrinter.new(profile)
        #File.open("profile.html", "w") do |file|
        #  printer.print(file)
        #end
        #printer = RubyProf::CallTreePrinter.new(profile)
        #File.open("profile.clt", "w") do |file|
        #  printer.print(file)
        #end
      rescue TjException => msg
        if msg.message && !msg.message.empty?
          critical('generate_reports', msg.message)
        end
        return false
      end

      Log.exit('reports')
      true
    end

listReports(reportId, regExpMode) click to toggle source

List the details of the report with reportId or if regExpMode the reports that match the regular expression in reportId.

    # File lib/taskjuggler/TaskJuggler.rb, line 198
    def listReports(reportId, regExpMode)
      begin
        Log.enter('listReports', 'Generating report list for #{reportId} ...')
        @project.listReports(reportId, regExpMode)
      rescue TjException => msg
        if msg.message && !msg.message.empty?
          critical('list_reports', msg.message)
        end
        Log.exit('listReports')
        return false
      end
      Log.exit('listReports')
      true
    end

parse(files, keepParser = false) click to toggle source

Read in the files passed as file names in files, parse them and construct a Project object. In case of success true is returned. Otherwise false.

    # File lib/taskjuggler/TaskJuggler.rb, line 43
    def parse(files, keepParser = false)
      # Reset the MessageHandler to clear all errors.
      MessageHandlerInstance.instance.clear

      Log.enter('parser', 'Parsing files ...')
      master = true
      @project = nil

      #RubyProf.start
      @parser = ProjectFileParser.new
      files.each do |file|
        begin
          @parser.open(file, master)
        rescue TjException => msg
          if msg.message && !msg.message.empty?
            critical('parse', msg.message)
          end
          Log.exit('parser')
          return false
        end
        if master
          # The first file is considered the master file.
          if (@project = @parser.parse(:project)) == false
            Log.exit('parser')
            return false
          end
          master = false
        else
          # All other files.
          @parser.setGlobalMacros
          if @parser.parse(:propertiesFile) == false
            Log.exit('parser')
            return false
          end
        end
        @project.inputFiles << file
        @parser.close
      end

      #profile = RubyProf.stop
      #printer = RubyProf::GraphHtmlPrinter.new(profile)
      #File.open("profile.html", "w") do |file|
      #  printer.print(file)
      #end
      #printer = RubyProf::CallTreePrinter.new(profile)
      #File.open("profile.clt", "w") do |file|
      #  printer.print(file)
      #end

      # For the report server mode we may need to keep the parser. Otherwise,
      # destroy it.
      @parser = nil unless keepParser

      Log.exit('parser')
      MessageHandlerInstance.instance.errors == 0
    end

parseFile(fileName, rule) click to toggle source

Parse a file and add the content to the existing project. fileName is the name of the file. rule is the TextParser::Rule to start with.

    # File lib/taskjuggler/TaskJuggler.rb, line 102
    def parseFile(fileName, rule)
      begin
        @parser.open(fileName, false)
        @project.inputFiles << fileName
      rescue TjException => msg
        if msg.message && !msg.message.empty?
          critical('parse_file', msg.message)
        end
        return nil
      end

      @parser.setGlobalMacros
      return nil if (res = @parser.parse(rule)) == false

      @parser.close
      res
    end

projectId() click to toggle source

Return the ID of the project or nil if no project has been loaded yet.

    # File lib/taskjuggler/TaskJuggler.rb, line 367
    def projectId
      return nil if @project.nil?
      @project['projectid']
    end

projectName() click to toggle source

Return the name of the project or nil if no project has been loaded yet.

    # File lib/taskjuggler/TaskJuggler.rb, line 373
    def projectName
      return nil if @project.nil?
      @project['name']
    end

schedule() click to toggle source

Schedule all scenarios in the project. Return true if no error was detected, false otherwise.

    # File lib/taskjuggler/TaskJuggler.rb, line 122
    def schedule
      Log.enter('scheduler', 'Scheduling project ...')
      #puts @project.to_s
      @project.warnTsDeltas = @warnTsDeltas

      begin
        res = @project.schedule
      rescue TjException => msg
        if msg.message && !msg.message.empty?
          critical('scheduling_error', msg.message)
        end
        return false
      end

      @project.enableTraceReports(@generateTraces)

      Log.exit('scheduler')
      res
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.