Class: Command::AmbariServiceComponentDelete

Inherits:
AmbariClusterComponentHostCommand show all
Defined in:
lib/command/ambari_service_component_delete.rb

Overview

# Command used to delete a service component into an ambari cluster.

Author:

  • tmarmin

Instance Attribute Summary

Attributes inherited from AmbariClusterComponentHostCommand

#host_name

Attributes inherited from AmbariClusterComponentCommand

#component_name

Attributes inherited from AmbariClusterCommand

#cluster_name

Attributes inherited from BasicCommand

#logger, #receiver

Instance Method Summary collapse

Methods inherited from AmbariClusterComponentHostCommand

#initialize

Methods inherited from AmbariClusterComponentCommand

#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::AmbariClusterComponentHostCommand

Instance Method Details

#execObject

The execution of the command.

Raises:

  • @todo raise an appropriate exception if it bug

Author:

  • tmarmin



16
17
18
# File 'lib/command/ambari_service_component_delete.rb', line 16

def exec()
  @receiver.delete_host_component(@cluster_name, @host_name, @component_name)
end