module ForemanMaintain::Concerns::Metadata
Constants
- MAX_PREPARATION_STEPS_DEPTH
limit of steps dependent on each other, to avoid endless recursion
Attributes
top_level_modules[RW]
modules not to be included in autogenerated labels
Public Class Methods
included(klass)
click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 250 def self.included(klass) klass.extend(ClassMethods) end
Public Instance Methods
advanced_run?()
click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 290 def advanced_run? self.class.advanced_run? end
description()
click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 266 def description self.class.description end
label()
click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 258 def label self.class.label end
label_dashed()
click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 262 def label_dashed label.to_s.tr('_', '-') end
metadata()
click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 254 def metadata self.class.metadata end
params()
click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 278 def params self.class.params end
preparation_steps(*args)
click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 286 def preparation_steps(*args) self.class.preparation_steps(*args) end
run_once?()
click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 282 def run_once? self.class.run_once? end
runtime_message()
click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 270 def runtime_message description end