Parent

Methods

Class Index [+]

Quicksearch

TaskJuggler::TaskDependency

Attributes

onEnd[RW]
gapDuration[RW]
gapLength[RW]
taskId[R]
task[R]

Public Class Methods

new(taskId, onEnd) click to toggle source
    # File lib/taskjuggler/TaskDependency.rb, line 21
21:     def initialize(taskId, onEnd)
22:       @taskId = taskId
23:       @task = nil
24:       # Specifies whether the dependency is relative to the start or the
25:       # end of the dependent task.
26:       @onEnd = onEnd
27:       # The gap duration is stored in seconds of calendar time.
28:       @gapDuration = 0
29:       # The gap length is stored in number of scheduling slots.
30:       @gapLength = 0
31:     end

Public Instance Methods

==(dep) click to toggle source
    # File lib/taskjuggler/TaskDependency.rb, line 33
33:     def ==(dep)
34:       @taskId == dep.taskId &&
35:       @task == dep.task &&
36:       @onEnd == dep.onEnd &&
37:       @gapDuration == dep.gapDuration &&
38:       @gapLength == dep.gapLength
39:     end
resolve(project) click to toggle source
    # File lib/taskjuggler/TaskDependency.rb, line 41
41:     def resolve(project)
42:       @task = project.task(@taskId)
43:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.