Module: ForemanTasksCore
- Defined in:
- lib/foreman_tasks_core.rb,
lib/foreman_tasks_core/runner.rb,
lib/foreman_tasks_core/version.rb,
lib/foreman_tasks_core/runner/base.rb,
lib/foreman_tasks_core/runner/action.rb,
lib/foreman_tasks_core/runner/update.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/runner/command_runner.rb
Defined Under Namespace
Modules: Runner, SettingsLoader
Classes: ContinuousOutput, ShareableAction
Constant Summary
collapse
- VERSION =
'0.1.2'.freeze
Class Method Summary
collapse
Class Method Details
.dynflow_present? ⇒ Boolean
12
13
14
|
# File 'lib/foreman_tasks_core.rb', line 12
def self.dynflow_present?
defined? Dynflow
end
|
.dynflow_setup(dynflow_world) ⇒ Object
16
17
18
|
# File 'lib/foreman_tasks_core.rb', line 16
def self.dynflow_setup(dynflow_world)
@dynflow_world = dynflow_world
end
|
.dynflow_world ⇒ Object
7
8
9
10
|
# File 'lib/foreman_tasks_core.rb', line 7
def self.dynflow_world
raise 'Dynflow world not set. Call initialize first' unless @dynflow_world
@dynflow_world
end
|