Sha256: ba4c581717118337cf43ea8291f175f6607af257ab98cc5ee1d21a7229529f3c

Contents?: true

Size: 386 Bytes

Versions: 103

Compression:

Stored size: 386 Bytes

Contents

class JobInvocationTaskGroup < ::ForemanTasks::TaskGroup

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

  alias_method :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

103 entries across 103 versions & 1 rubygems

Version Path
foreman_remote_execution-13.2.7 app/models/job_invocation_task_group.rb
foreman_remote_execution-15.0.0 app/models/job_invocation_task_group.rb
foreman_remote_execution-14.1.4 app/models/job_invocation_task_group.rb
foreman_remote_execution-14.1.3 app/models/job_invocation_task_group.rb
foreman_remote_execution-14.1.2 app/models/job_invocation_task_group.rb
foreman_remote_execution-14.1.1 app/models/job_invocation_task_group.rb
foreman_remote_execution-14.1.0 app/models/job_invocation_task_group.rb
foreman_remote_execution-14.0.2 app/models/job_invocation_task_group.rb
foreman_remote_execution-14.0.1 app/models/job_invocation_task_group.rb
foreman_remote_execution-13.2.6 app/models/job_invocation_task_group.rb
foreman_remote_execution-14.0.0 app/models/job_invocation_task_group.rb
foreman_remote_execution-13.2.5 app/models/job_invocation_task_group.rb
foreman_remote_execution-13.2.4 app/models/job_invocation_task_group.rb
foreman_remote_execution-13.2.3 app/models/job_invocation_task_group.rb
foreman_remote_execution-13.2.2 app/models/job_invocation_task_group.rb
foreman_remote_execution-12.0.7 app/models/job_invocation_task_group.rb
foreman_remote_execution-13.2.1 app/models/job_invocation_task_group.rb
foreman_remote_execution-13.2.0 app/models/job_invocation_task_group.rb
foreman_remote_execution-10.1.3 app/models/job_invocation_task_group.rb
foreman_remote_execution-13.0.0 app/models/job_invocation_task_group.rb