Sha256: 59e942f066b1cc7447080d7e90c3d1f3d74334af7154139e707473f359b4a578

Contents?: true

Size: 376 Bytes

Versions: 42

Compression:

Stored size: 376 Bytes

Contents

class JobInvocationTaskGroup < ::ForemanTasks::TaskGroup

  has_one :job_invocation, :foreign_key => :task_group_id, :dependent => :nullify

  alias resource job_invocation

  def resource_name
    N_('Job Invocation')
  end

  def self.search_query_for(thing)
    case thing
    when ::ForemanTasks::RecurringLogic
      "recurring_logic.id = #{thing.id}"
    end
  end

end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
foreman_remote_execution-2.0.10 app/models/job_invocation_task_group.rb
foreman_remote_execution-2.0.9 app/models/job_invocation_task_group.rb
foreman_remote_execution-2.0.8 app/models/job_invocation_task_group.rb
foreman_remote_execution-3.0.3 app/models/job_invocation_task_group.rb
foreman_remote_execution-3.0.2 app/models/job_invocation_task_group.rb
foreman_remote_execution-2.0.7 app/models/job_invocation_task_group.rb
foreman_remote_execution-3.0.1 app/models/job_invocation_task_group.rb
foreman_remote_execution-3.0.0 app/models/job_invocation_task_group.rb
foreman_remote_execution-2.0.6 app/models/job_invocation_task_group.rb
foreman_remote_execution-2.0.5 app/models/job_invocation_task_group.rb
foreman_remote_execution-2.0.4 app/models/job_invocation_task_group.rb
foreman_remote_execution-2.0.3 app/models/job_invocation_task_group.rb
foreman_remote_execution-2.0.2 app/models/job_invocation_task_group.rb
foreman_remote_execution-2.0.1 app/models/job_invocation_task_group.rb
foreman_remote_execution-2.0.0 app/models/job_invocation_task_group.rb
foreman_remote_execution-1.8.4 app/models/job_invocation_task_group.rb
foreman_remote_execution-1.8.3 app/models/job_invocation_task_group.rb
foreman_remote_execution-1.8.2 app/models/job_invocation_task_group.rb
foreman_remote_execution-1.8.1 app/models/job_invocation_task_group.rb
foreman_remote_execution-1.8.0 app/models/job_invocation_task_group.rb