Class: Logical::Naf::ConstructionZone::ApplicationScheduleWorkOrder

Inherits:
ApplicationWorkOrder show all
Defined in:
app/models/logical/naf/construction_zone/application_schedule_work_order.rb

Instance Attribute Summary

Attributes inherited from WorkOrder

#application, #application_run_group_limit, #application_run_group_name, #application_run_group_restriction, #application_schedule, #application_type, #command, #enqueue_backlogs, #priority

Instance Method Summary collapse

Methods inherited from WorkOrder

#historical_job_affinity_tab_parameters, #historical_job_parameters, #historical_job_prerequisite_historical_jobs

Constructor Details

#initialize(application_schedule) ⇒ ApplicationScheduleWorkOrder

Returns a new instance of ApplicationScheduleWorkOrder.



3
4
5
6
7
8
9
10
11
12
13
# File 'app/models/logical/naf/construction_zone/application_schedule_work_order.rb', line 3

def initialize(application_schedule)
  super(application_schedule.application,
        application_schedule.application_run_group_restriction,
        application_schedule.application_run_group_name,
        application_schedule.application_run_group_limit,
        application_schedule.priority,
        application_schedule.affinities,
        application_schedule.prerequisites,
        application_schedule.enqueue_backlogs,
        application_schedule)
end