Module: Kiba::Extend::Jobs::DependencyJob
- Extended by:
- Reporter
- Defined in:
- lib/kiba/extend/jobs/dependency_job.rb
Overview
Mixin for different behavior for dependency jobs
Instance Method Summary
collapse
Methods included from Reporter
desc_and_tags, get_duration, put_file_details, report_run_end, report_run_start, row_report, start_and_def, tags
Instance Method Details
#add_decoration ⇒ Object
11
12
13
|
# File 'lib/kiba/extend/jobs/dependency_job.rb', line 11
def add_decoration
end
|
#minimal_end ⇒ Object
38
39
40
|
# File 'lib/kiba/extend/jobs/dependency_job.rb', line 38
def minimal_end
end
|
#minimal_start ⇒ Object
25
26
27
|
# File 'lib/kiba/extend/jobs/dependency_job.rb', line 25
def minimal_start
end
|
#normal_end ⇒ Object
34
35
36
|
# File 'lib/kiba/extend/jobs/dependency_job.rb', line 34
def normal_end
end
|
#normal_start ⇒ Object
21
22
23
|
# File 'lib/kiba/extend/jobs/dependency_job.rb', line 21
def normal_start
puts start_and_def
end
|
#start_label ⇒ Object
42
43
44
|
# File 'lib/kiba/extend/jobs/dependency_job.rb', line 42
def start_label
"->Starting dependency job"
end
|
#verbose_end ⇒ Object
29
30
31
32
|
# File 'lib/kiba/extend/jobs/dependency_job.rb', line 29
def verbose_end
puts " #{row_report} written to #{job_data.path}"
puts " NOTE: #{job_data.message.upcase}" if job_data.message
end
|
#verbose_start ⇒ Object
the rest overrides Reporter
16
17
18
19
|
# File 'lib/kiba/extend/jobs/dependency_job.rb', line 16
def verbose_start
puts start_and_def
puts " #{desc_and_tags}"
end
|