Class: Command::AmbariCommand Abstract

Inherits:
BasicCommand show all
Defined in:
lib/command/ambari_command.rb

Overview

This class is abstract.

Subclass and override BasicCommand#exec to implement

Class for all ambari command.

Author:

  • tnoguer

Direct Known Subclasses

AmbariClusterCommand, AmbariClusterList

Instance Attribute Summary

Attributes inherited from BasicCommand

#logger, #receiver

Instance Method Summary collapse

Methods inherited from BasicCommand

#exec

Constructor Details

#initializeAmbariCommand (private)

Default constructor.

Author:

  • tnoguer



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

def initialize
  super(Receiver::AmbariReceiver.new())
  @logger.info("Command::AmbariCommand   initialize the parameters...")
end