doc/TaskJuggler/TimeSheetRecord.html in taskjuggler-0.0.6 vs doc/TaskJuggler/TimeSheetRecord.html in taskjuggler-0.0.7

- old
+ new

@@ -185,10 +185,14 @@ <li><a href="../TaskJuggler/DependencyListAttribute.html">TaskJuggler::DependencyListAttribute</a></li> <li><a href="../TaskJuggler/DurationAttribute.html">TaskJuggler::DurationAttribute</a></li> + <li><a href="../TaskJuggler/FileList.html">TaskJuggler::FileList</a></li> + + <li><a href="../TaskJuggler/FileRecord.html">TaskJuggler::FileRecord</a></li> + <li><a href="../TaskJuggler/FixnumAttribute.html">TaskJuggler::FixnumAttribute</a></li> <li><a href="../TaskJuggler/FlagListAttribute.html">TaskJuggler::FlagListAttribute</a></li> <li><a href="../TaskJuggler/FloatAttribute.html">TaskJuggler::FloatAttribute</a></li> @@ -257,12 +261,10 @@ <li><a href="../TaskJuggler/LogicalOperation.html">TaskJuggler::LogicalOperation</a></li> <li><a href="../TaskJuggler/Macro.html">TaskJuggler::Macro</a></li> - <li><a href="../TaskJuggler/MacroParser.html">TaskJuggler::MacroParser</a></li> - <li><a href="../TaskJuggler/MacroTable.html">TaskJuggler::MacroTable</a></li> <li><a href="../TaskJuggler/ManagerResponsibilities.html">TaskJuggler::ManagerResponsibilities</a></li> <li><a href="../TaskJuggler/ManagerStatusRecord.html">TaskJuggler::ManagerStatusRecord</a></li> @@ -323,10 +325,12 @@ <li><a href="../TaskJuggler/RTFReport.html">TaskJuggler::RTFReport</a></li> <li><a href="../TaskJuggler/RTFReportLink.html">TaskJuggler::RTFReportLink</a></li> + <li><a href="../TaskJuggler/RTFWithQuerySupport.html">TaskJuggler::RTFWithQuerySupport</a></li> + <li><a href="../TaskJuggler/RealFormat.html">TaskJuggler::RealFormat</a></li> <li><a href="../TaskJuggler/RealFormatAttribute.html">TaskJuggler::RealFormatAttribute</a></li> <li><a href="../TaskJuggler/ReferenceAttribute.html">TaskJuggler::ReferenceAttribute</a></li> @@ -369,12 +373,10 @@ <li><a href="../TaskJuggler/RichTextDocument.html">TaskJuggler::RichTextDocument</a></li> <li><a href="../TaskJuggler/RichTextElement.html">TaskJuggler::RichTextElement</a></li> - <li><a href="../TaskJuggler/RichTextException.html">TaskJuggler::RichTextException</a></li> - <li><a href="../TaskJuggler/RichTextFunctionExample.html">TaskJuggler::RichTextFunctionExample</a></li> <li><a href="../TaskJuggler/RichTextFunctionHandler.html">TaskJuggler::RichTextFunctionHandler</a></li> <li><a href="../TaskJuggler/RichTextImage.html">TaskJuggler::RichTextImage</a></li> @@ -411,10 +413,12 @@ <li><a href="../TaskJuggler/ShiftAssignmentsAttribute.html">TaskJuggler::ShiftAssignmentsAttribute</a></li> <li><a href="../TaskJuggler/ShiftScenario.html">TaskJuggler::ShiftScenario</a></li> + <li><a href="../TaskJuggler/SimpleQueryExpander.html">TaskJuggler::SimpleQueryExpander</a></li> + <li><a href="../TaskJuggler/SortListAttribute.html">TaskJuggler::SortListAttribute</a></li> <li><a href="../TaskJuggler/SourceFileInfo.html">TaskJuggler::SourceFileInfo</a></li> <li><a href="../TaskJuggler/StatusSheetReceiver.html">TaskJuggler::StatusSheetReceiver</a></li> @@ -521,10 +525,12 @@ <li><a href="../TaskJuggler/URLParameter.html">TaskJuggler::URLParameter</a></li> <li><a href="../TaskJuggler/UserManual.html">TaskJuggler::UserManual</a></li> + <li><a href="../TaskJuggler/VimSyntax.html">TaskJuggler::VimSyntax</a></li> + <li><a href="../TaskJuggler/WebServer.html">TaskJuggler::WebServer</a></li> <li><a href="../TaskJuggler/WorkingHours.html">TaskJuggler::WorkingHours</a></li> <li><a href="../TaskJuggler/WorkingHoursAttribute.html">TaskJuggler::WorkingHoursAttribute</a></li> @@ -802,14 +808,14 @@ <div class="method-source-code" id="actual-nd-source"> <pre> - <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 222</span> -222: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">actualEnd</span> -223: <span class="ruby-ivar">@expectedEnd</span> -224: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 223</span> +223: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">actualEnd</span> +224: <span class="ruby-ivar">@expectedEnd</span> +225: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -838,15 +844,15 @@ <div class="method-source-code" id="actual-emaining-source"> <pre> - <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 205</span> -205: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">actualRemaining</span> -206: <span class="ruby-identifier">project</span> = <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">resource</span>.<span class="ruby-identifier">project</span> -207: <span class="ruby-identifier">project</span>.<span class="ruby-identifier">convertToDailyLoad</span>(<span class="ruby-ivar">@remaining</span> * <span class="ruby-identifier">project</span>[<span class="ruby-value str">'scheduleGranularity'</span>]) -208: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 207</span> +207: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">actualRemaining</span> +208: <span class="ruby-identifier">project</span> = <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">resource</span>.<span class="ruby-identifier">project</span> +209: <span class="ruby-identifier">project</span>.<span class="ruby-identifier">convertToDailyLoad</span>(<span class="ruby-ivar">@remaining</span> * <span class="ruby-identifier">project</span>[<span class="ruby-value str">'scheduleGranularity'</span>]) +210: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -875,14 +881,14 @@ <div class="method-source-code" id="actual-ork-ercent-source"> <pre> - <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 188</span> -188: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">actualWorkPercent</span> -189: (<span class="ruby-ivar">@work</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">totalGrossWorkingSlots</span>) * <span class="ruby-value">100.0</span> -190: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 190</span> +190: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">actualWorkPercent</span> +191: (<span class="ruby-ivar">@work</span>.<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">totalGrossWorkingSlots</span>) * <span class="ruby-value">100.0</span> +192: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -1010,14 +1016,14 @@ <div class="method-source-code" id="plan-nd-source"> <pre> - <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 227</span> -227: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">planEnd</span> -228: <span class="ruby-ivar">@task</span>[<span class="ruby-value str">'end'</span>, <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">scenarioIdx</span>] -229: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 228</span> +228: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">planEnd</span> +229: <span class="ruby-ivar">@task</span>[<span class="ruby-value str">'end'</span>, <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">scenarioIdx</span>] +230: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -1046,20 +1052,19 @@ <div class="method-source-code" id="plan-emaining-source"> <pre> - <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 211</span> -211: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">planRemaining</span> -212: <span class="ruby-identifier">resource</span> = <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">resource</span> -213: <span class="ruby-identifier">project</span> = <span class="ruby-identifier">resource</span>.<span class="ruby-identifier">project</span> -214: <span class="ruby-identifier">scenarioIdx</span> = <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">scenarioIdx</span> -215: <span class="ruby-identifier">startIdx</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">dateToIdx</span>(<span class="ruby-identifier">project</span>[<span class="ruby-value str">'now'</span>], <span class="ruby-keyword kw">true</span>) -216: <span class="ruby-identifier">endIdx</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">dateToIdx</span>(<span class="ruby-ivar">@task</span>[<span class="ruby-value str">'end'</span>, <span class="ruby-identifier">scenarioIdx</span>]) -217: <span class="ruby-identifier">remainingWork</span> = <span class="ruby-ivar">@task</span>.<span class="ruby-identifier">getEffectiveWork</span>(<span class="ruby-identifier">scenarioIdx</span>, <span class="ruby-identifier">startIdx</span>, <span class="ruby-identifier">endIdx</span>, -218: <span class="ruby-identifier">resource</span>) -219: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 213</span> +213: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">planRemaining</span> +214: <span class="ruby-identifier">resource</span> = <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">resource</span> +215: <span class="ruby-identifier">project</span> = <span class="ruby-identifier">resource</span>.<span class="ruby-identifier">project</span> +216: <span class="ruby-identifier">scenarioIdx</span> = <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">scenarioIdx</span> +217: <span class="ruby-identifier">startIdx</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">dateToIdx</span>(<span class="ruby-identifier">project</span>[<span class="ruby-value str">'now'</span>], <span class="ruby-keyword kw">true</span>) +218: <span class="ruby-identifier">endIdx</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">dateToIdx</span>(<span class="ruby-ivar">@task</span>[<span class="ruby-value str">'end'</span>, <span class="ruby-identifier">scenarioIdx</span>]) +219: <span class="ruby-ivar">@task</span>.<span class="ruby-identifier">getEffectiveWork</span>(<span class="ruby-identifier">scenarioIdx</span>, <span class="ruby-identifier">startIdx</span>, <span class="ruby-identifier">endIdx</span>, <span class="ruby-identifier">resource</span>) +220: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -1088,21 +1093,21 @@ <div class="method-source-code" id="plan-ork-ercent-source"> <pre> - <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 193</span> -193: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">planWorkPercent</span> -194: <span class="ruby-identifier">resource</span> = <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">resource</span> -195: <span class="ruby-identifier">project</span> = <span class="ruby-identifier">resource</span>.<span class="ruby-identifier">project</span> -196: <span class="ruby-identifier">scenarioIdx</span> = <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">scenarioIdx</span> -197: <span class="ruby-identifier">startIdx</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">dateToIdx</span>(<span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">interval</span>.<span class="ruby-identifier">start</span>) -198: <span class="ruby-identifier">endIdx</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">dateToIdx</span>(<span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">interval</span>.<span class="ruby-identifier">end</span>) -199: (<span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">resource</span>.<span class="ruby-identifier">getAllocatedSlots</span>(<span class="ruby-identifier">scenarioIdx</span>, <span class="ruby-identifier">startIdx</span>, <span class="ruby-identifier">endIdx</span>, -200: <span class="ruby-ivar">@task</span>).<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> -201: <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">totalGrossWorkingSlots</span>) * <span class="ruby-value">100.0</span> -202: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 195</span> +195: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">planWorkPercent</span> +196: <span class="ruby-identifier">resource</span> = <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">resource</span> +197: <span class="ruby-identifier">project</span> = <span class="ruby-identifier">resource</span>.<span class="ruby-identifier">project</span> +198: <span class="ruby-identifier">scenarioIdx</span> = <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">scenarioIdx</span> +199: <span class="ruby-identifier">startIdx</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">dateToIdx</span>(<span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">interval</span>.<span class="ruby-identifier">start</span>) +200: <span class="ruby-identifier">endIdx</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">dateToIdx</span>(<span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">interval</span>.<span class="ruby-identifier">end</span>) +201: (<span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">resource</span>.<span class="ruby-identifier">getAllocatedSlots</span>(<span class="ruby-identifier">scenarioIdx</span>, <span class="ruby-identifier">startIdx</span>, <span class="ruby-identifier">endIdx</span>, +202: <span class="ruby-ivar">@task</span>).<span class="ruby-identifier">to_f</span> <span class="ruby-operator">/</span> +203: <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">totalGrossWorkingSlots</span>) * <span class="ruby-value">100.0</span> +204: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -1129,14 +1134,14 @@ <div class="method-source-code" id="task-d-source"> <pre> - <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 183</span> -183: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">taskId</span> -184: <span class="ruby-ivar">@task</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Task</span>) <span class="ruby-operator">?</span> <span class="ruby-ivar">@task</span>.<span class="ruby-identifier">fullId</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">task</span> -185: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 185</span> +185: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">taskId</span> +186: <span class="ruby-ivar">@task</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Task</span>) <span class="ruby-operator">?</span> <span class="ruby-ivar">@task</span>.<span class="ruby-identifier">fullId</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">task</span> +187: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -1216,14 +1221,16 @@ 173: <span class="ruby-keyword kw">else</span> 174: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@expectedEnd</span> <span class="ruby-operator">!=</span> <span class="ruby-ivar">@task</span>[<span class="ruby-value str">'end'</span>, <span class="ruby-identifier">scenarioIdx</span>] 175: <span class="ruby-identifier">warning</span>(<span class="ruby-value str">'ts_res_end_delta'</span>, 176: <span class="ruby-node">&quot;#{resource.name} requests &quot;</span> <span class="ruby-operator">+</span> 177: <span class="ruby-node">&quot;#{@expectedEnd &lt; @task['end', scenarioIdx] ? -178: 'earlier' : 'later'} end for task #{@task.fullId}&quot;</span>) -179: <span class="ruby-keyword kw">end</span> -180: <span class="ruby-keyword kw">end</span> -181: <span class="ruby-keyword kw">end</span></pre> +178: 'earlier' : 'later'} end (#{@expectedEnd}) for task &quot;</span> <span class="ruby-operator">+</span> +179: <span class="ruby-node">&quot;#{@task.fullId}. Planned end is &quot;</span> <span class="ruby-operator">+</span> +180: <span class="ruby-node">&quot;#{@task['end', scenarioIdx]}.&quot;</span>) +181: <span class="ruby-keyword kw">end</span> +182: <span class="ruby-keyword kw">end</span> +183: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -1299,14 +1306,14 @@ <div class="method-source-code" id="error-source"> <pre> - <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 233</span> -233: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">error</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>) -234: <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">message</span>(<span class="ruby-value str">'error'</span>, <span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>, <span class="ruby-ivar">@sourceFileInfo</span>) -235: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 234</span> +234: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">error</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>) +235: <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">error</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>, <span class="ruby-ivar">@sourceFileInfo</span>) +236: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -1333,13 +1340,13 @@ <div class="method-source-code" id="warning-source"> <pre> - <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 237</span> -237: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">warning</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>) -238: <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">message</span>(<span class="ruby-value str">'warning'</span>, <span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>, <span class="ruby-ivar">@sourceFileInfo</span>) -239: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/TimeSheets.rb, line 238</span> +238: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">warning</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>) +239: <span class="ruby-ivar">@timeSheet</span>.<span class="ruby-identifier">warning</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">text</span>, <span class="ruby-ivar">@sourceFileInfo</span>) +240: <span class="ruby-keyword kw">end</span></pre> </div> </div>