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 235
def self.included(klass)
  klass.extend(ClassMethods)
end

Public Instance Methods

description() click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 251
def description
  self.class.description
end
label() click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 243
def label
  self.class.label
end
label_dashed() click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 247
def label_dashed
  label.to_s.tr('_', '-')
end
metadata() click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 239
def metadata
  self.class.metadata
end
params() click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 263
def params
  self.class.params
end
preparation_steps(*args) click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 271
def preparation_steps(*args)
  self.class.preparation_steps(*args)
end
run_once?() click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 267
def run_once?
  self.class.run_once?
end
runtime_message() click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 255
def runtime_message
  description
end
tags() click to toggle source
# File lib/foreman_maintain/concerns/metadata.rb, line 259
def tags
  self.class.tags
end