Class: Mdm::Task
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Mdm::Task
- Defined in:
- app/models/mdm/task.rb
Instance Attribute Summary collapse
-
#creds ⇒ Array<Mdm::Cred>
Creds this task touched.
-
#hosts ⇒ Array<Mdm::Host>
Hosts this task touched.
-
#listeners ⇒ ActiveRecord::Relation<Mdm::Listener>
Listeners spawned by this task.
-
#services ⇒ Array<Mdm::Service>
Services this task touched.
-
#sessions ⇒ Array<Mdm::Session>
Session this task touched.
-
#task_creds ⇒ ActiveRecord::Relation<Mdm::TaskCred>
Joins this to #creds.
-
#task_hosts ⇒ ActiveRecord::Relation<Mdm::TaskHost>
Joins this to #hosts.
-
#task_services ⇒ ActiveRecord::Relation<Mdm::TaskService>
Joins this to #services.
-
#task_sessions ⇒ ActiveRecord::Relation<Mdm::TaskSession>
Joins this to #sessions.
-
#workspace ⇒ Mdm::Workspace
The Workspace the Task belongs to.
Instance Attribute Details
#creds ⇒ Array<Mdm::Cred>
Creds this task touched
73 |
# File 'app/models/mdm/task.rb', line 73 has_many :creds, :through => :task_creds, :class_name => 'Mdm::Cred' |
#hosts ⇒ Array<Mdm::Host>
Hosts this task touched
83 |
# File 'app/models/mdm/task.rb', line 83 has_many :hosts, :through => :task_hosts, :class_name => 'Mdm::Host' |
#listeners ⇒ ActiveRecord::Relation<Mdm::Listener>
Listeners spawned by this task
16 17 18 19 |
# File 'app/models/mdm/task.rb', line 16 has_many :listeners, class_name: 'Mdm::Listener', dependent: :destroy, inverse_of: :task |
#services ⇒ Array<Mdm::Service>
Services this task touched
93 |
# File 'app/models/mdm/task.rb', line 93 has_many :services, :through => :task_services, :class_name => 'Mdm::Service' |
#sessions ⇒ Array<Mdm::Session>
Session this task touched
103 |
# File 'app/models/mdm/task.rb', line 103 has_many :sessions, :through => :task_sessions, :class_name => 'Mdm::Session' |
#task_creds ⇒ ActiveRecord::Relation<Mdm::TaskCred>
Joins this to #creds.
25 26 27 28 |
# File 'app/models/mdm/task.rb', line 25 has_many :task_creds, class_name: 'Mdm::TaskCred', dependent: :destroy, inverse_of: :task |
#task_hosts ⇒ ActiveRecord::Relation<Mdm::TaskHost>
Joins this to #hosts.
34 35 36 37 |
# File 'app/models/mdm/task.rb', line 34 has_many :task_hosts, class_name: 'Mdm::TaskHost', dependent: :destroy, inverse_of: :task |
#task_services ⇒ ActiveRecord::Relation<Mdm::TaskService>
Joins this to #services.
43 44 45 46 |
# File 'app/models/mdm/task.rb', line 43 has_many :task_services, class_name: 'Mdm::TaskService', dependent: :destroy, inverse_of: :task |
#task_sessions ⇒ ActiveRecord::Relation<Mdm::TaskSession>
Joins this to #sessions.
52 53 54 55 |
# File 'app/models/mdm/task.rb', line 52 has_many :task_sessions, class_name: 'Mdm::TaskSession', dependent: :destroy, inverse_of: :task |
#workspace ⇒ Mdm::Workspace
The Workspace the Task belongs to
61 62 63 |
# File 'app/models/mdm/task.rb', line 61 belongs_to :workspace, class_name: 'Mdm::Workspace', inverse_of: :tasks |