Class: Command::AmbariStopHostComponents

Inherits:
AmbariClusterServiceHostCommand show all
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

#host_name

Attributes inherited from AmbariClusterServiceCommand

#service_name

Attributes inherited from AmbariClusterCommand

#cluster_name

Attributes inherited from BasicCommand

#logger, #receiver

Instance Method Summary collapse

Methods inherited from AmbariClusterServiceHostCommand

#initialize

Methods inherited from AmbariClusterServiceCommand

#initialize

Methods inherited from AmbariClusterCommand

#initialize

Methods inherited from AmbariCommand

#initialize

Methods inherited from BasicCommand

#initialize

Constructor Details

This class inherits a constructor from Command::AmbariClusterServiceHostCommand

Instance Method Details

#execObject

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