Class: Command::AmbariStopComponent
- Inherits:
-
AmbariClusterComponentCommand
- Object
- BasicCommand
- AmbariCommand
- AmbariClusterCommand
- AmbariClusterComponentCommand
- Command::AmbariStopComponent
- Defined in:
- lib/command/ambari_stop_component.rb
Overview
Command used to stop a type of component.
Instance Attribute Summary
Attributes inherited from AmbariClusterComponentCommand
Attributes inherited from AmbariClusterCommand
Attributes inherited from BasicCommand
Instance Method Summary collapse
-
#exec ⇒ Object
The execution of the command.
Methods inherited from AmbariClusterComponentCommand
Methods inherited from AmbariClusterCommand
Methods inherited from AmbariCommand
Methods inherited from BasicCommand
Constructor Details
This class inherits a constructor from Command::AmbariClusterComponentCommand
Instance Method Details
#exec ⇒ Object
The execution of the command.
14 15 16 |
# File 'lib/command/ambari_stop_component.rb', line 14 def exec() @receiver.stop_component(@cluster_name, @component_name) end |