Module: ForemanTasksCore
- Defined in:
- lib/foreman_tasks_core.rb,
lib/foreman_tasks_core/runner.rb,
lib/foreman_tasks_core/ticker.rb,
lib/foreman_tasks_core/version.rb,
lib/foreman_tasks_core/otp_manager.rb,
lib/foreman_tasks_core/runner/base.rb,
lib/foreman_tasks_core/runner/action.rb,
lib/foreman_tasks_core/runner/parent.rb,
lib/foreman_tasks_core/runner/update.rb,
lib/foreman_tasks_core/task_launcher.rb,
lib/foreman_tasks_core/settings_loader.rb,
lib/foreman_tasks_core/shareable_action.rb,
lib/foreman_tasks_core/continuous_output.rb,
lib/foreman_tasks_core/runner/dispatcher.rb,
lib/foreman_tasks_core/task_launcher/batch.rb,
lib/foreman_tasks_core/task_launcher/single.rb,
lib/foreman_tasks_core/runner/command_runner.rb,
lib/foreman_tasks_core/task_launcher/abstract.rb
Defined Under Namespace
Modules: Runner, SettingsLoader, TaskLauncher
Classes: ContinuousOutput, OtpManager, ShareableAction, Ticker
Constant Summary
collapse
- VERSION =
'0.3.1'.freeze
Class Method Summary
collapse
Class Method Details
.dynflow_present? ⇒ Boolean
15
16
17
|
# File 'lib/foreman_tasks_core.rb', line 15
def self.dynflow_present?
defined? Dynflow
end
|
.dynflow_setup(dynflow_world) ⇒ Object
19
20
21
|
# File 'lib/foreman_tasks_core.rb', line 19
def self.dynflow_setup(dynflow_world)
@dynflow_world = dynflow_world
end
|
.dynflow_world ⇒ Object
10
11
12
13
|
# File 'lib/foreman_tasks_core.rb', line 10
def self.dynflow_world
raise 'Dynflow world not set. Call initialize first' unless @dynflow_world
@dynflow_world
end
|
.silent_dead_letter_matchers ⇒ Object
23
24
25
|
# File 'lib/foreman_tasks_core.rb', line 23
def self.silent_dead_letter_matchers
[::Dynflow::DeadLetterSilencer::Matcher.new(ForemanTasksCore::Ticker)]
end
|