director/lib/director/compile_task.rb
# Adds job to a list of job requiring this compiled package
# @note Cycle detection is done elsewhere
# @param [DeploymentPlan::Job] job Job to be added
# @return [void]
Adds job to a list of job requiring this compiled package
Adds job to a list of job requiring this compiled package
def add_job(job)
      return if @jobs.include?(job)
      @jobs << job
      if @compiled_package
        job.use_compiled_package(@compiled_package)
      end
    end
def add_job ( job ) return if @jobs . include? ( job ) @jobs << job if @compiled_package job . use_compiled_package ( @compiled_package ) end end
Adds job to a list of job requiring this compiled package
Adds job to a list of job requiring this compiled package
# If package is already compiled we can make it available to job # immediately, otherwise it will be done by #use_compiled_package
None
void
job
job Job to be added
job Job to be added
note
Cycle detection is done elsewhere
Cycle detection is done elsewhere