Class: Command::AmbariStopServiceComponents
- Inherits:
-
AmbariClusterServiceCommand
- Object
- BasicCommand
- AmbariCommand
- AmbariClusterCommand
- AmbariClusterServiceCommand
- Command::AmbariStopServiceComponents
- Defined in:
- lib/command/ambari_stop_service_components.rb
Overview
Command used to stop all components of an ambari service.
Instance Attribute Summary
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 AmbariClusterServiceCommand
Methods inherited from AmbariClusterCommand
Methods inherited from AmbariCommand
Methods inherited from BasicCommand
Constructor Details
This class inherits a constructor from Command::AmbariClusterServiceCommand
Instance Method Details
#exec ⇒ Object
The execution of the command.
14 15 16 |
# File 'lib/command/ambari_stop_service_components.rb', line 14 def exec() @receiver.stop_service(@cluster_name, @service_name) end |