Class: Command::AmbariServiceDelete

Inherits:
AmbariClusterServiceCommand show all
Defined in:
lib/command/ambari_service_delete.rb

Overview

# Command used to get information on a cluster’s ambari service.

Author:

  • tmarmin

Instance Attribute Summary

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 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::AmbariClusterServiceCommand

Instance Method Details

#execObject

The execution of the command.

Raises:

  • @todo traiter les exceptions

Author:

  • tmarmin



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

def exec()
  @receiver.delete_service(@cluster_name, @service_name)
end