Class: Command::AmbariStopHost
- Inherits:
-
AmbariClusterHostCommand
- Object
- BasicCommand
- AmbariCommand
- AmbariClusterCommand
- AmbariClusterHostCommand
- Command::AmbariStopHost
- Defined in:
- lib/command/ambari_stop_host.rb
Overview
Command used to stop all components of an host.
Instance Attribute Summary
Attributes inherited from AmbariClusterHostCommand
Attributes inherited from AmbariClusterCommand
Attributes inherited from BasicCommand
Instance Method Summary collapse
-
#exec ⇒ Object
The execution of the command.
Methods inherited from AmbariClusterHostCommand
Methods inherited from AmbariClusterCommand
Methods inherited from AmbariCommand
Methods inherited from BasicCommand
Constructor Details
This class inherits a constructor from Command::AmbariClusterHostCommand
Instance Method Details
#exec ⇒ Object
The execution of the command.
14 15 16 |
# File 'lib/command/ambari_stop_host.rb', line 14 def exec() @receiver.stop_host(@cluster_name, @host_name) end |