Class: Command::AmbariClusterList

Inherits:
AmbariCommand show all
Defined in:
lib/command/ambari_cluster_list.rb

Overview

Command used to get the list of the ambari clusters.

Author:

  • tnoguer

Instance Attribute Summary

Attributes inherited from BasicCommand

#logger, #receiver

Instance Method Summary collapse

Methods inherited from AmbariCommand

#initialize

Methods inherited from BasicCommand

#initialize

Constructor Details

This class inherits a constructor from Command::AmbariCommand

Instance Method Details

#execObject

The execution of the command.

Returns:

  • The list of clusters.

Author:

  • tnoguer



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

def exec()
  return receiver.list_clusters()
end