Class: Command::AmbariHostList
- Inherits:
-
AmbariClusterCommand
- Object
- BasicCommand
- AmbariCommand
- AmbariClusterCommand
- Command::AmbariHostList
- Defined in:
- lib/command/ambari_host_list.rb
Overview
Command used to get the hosts of a cluster.
Instance Attribute Summary
Attributes inherited from AmbariClusterCommand
Attributes inherited from BasicCommand
Instance Method Summary collapse
-
#exec ⇒ Object
The execution of the command.
Methods inherited from AmbariClusterCommand
Methods inherited from AmbariCommand
Methods inherited from BasicCommand
Constructor Details
This class inherits a constructor from Command::AmbariClusterCommand
Instance Method Details
#exec ⇒ Object
The execution of the command.
14 15 16 |
# File 'lib/command/ambari_host_list.rb', line 14 def exec() return @receiver.get_host_list(@cluster_name) end |