Class: Command::AmbariStopHostComponents
- Inherits:
-
AmbariClusterServiceHostCommand
- Object
- BasicCommand
- AmbariCommand
- AmbariClusterCommand
- AmbariClusterServiceCommand
- AmbariClusterServiceHostCommand
- Command::AmbariStopHostComponents
- Defined in:
- lib/command/ambari_stop_host_components.rb
Overview
Command used to stop the host component of an host for a specific service.
Instance Attribute Summary
Attributes inherited from AmbariClusterServiceHostCommand
Attributes inherited from AmbariClusterServiceCommand
Attributes inherited from AmbariClusterCommand
Attributes inherited from BasicCommand
Instance Method Summary collapse
-
#exec ⇒ Object
The execution of the command.
Methods inherited from AmbariClusterServiceHostCommand
Methods inherited from AmbariClusterServiceCommand
Methods inherited from AmbariClusterCommand
Methods inherited from AmbariCommand
Methods inherited from BasicCommand
Constructor Details
This class inherits a constructor from Command::AmbariClusterServiceHostCommand
Instance Method Details
#exec ⇒ Object
The execution of the command.
14 15 16 |
# File 'lib/command/ambari_stop_host_components.rb', line 14 def exec() @receiver.stop_host_components(@cluster_name, @service_name, @host_name) end |