Class: Command::AmbariClusterCommand Abstract
- Inherits:
-
AmbariCommand
- Object
- BasicCommand
- AmbariCommand
- Command::AmbariClusterCommand
- Defined in:
- lib/command/ambari_cluster_command.rb
Overview
This class is abstract.
Subclass and override BasicCommand#exec to implement
Class for all ambari command.
Direct Known Subclasses
AmbariClusterComponentCommand, AmbariClusterCreate, AmbariClusterHostCommand, AmbariClusterServiceCommand, AmbariCreateClusterConfiguration, AmbariGetClusterConfiguration, AmbariHostList, AmbariInstallCluster, AmbariServiceConfApply, AmbariServiceConfLs, AmbariServiceList, AmbariStartCluster, AmbariStopCluster
Instance Attribute Summary collapse
-
#cluster_name ⇒ Object
The cluster name.
Attributes inherited from BasicCommand
Instance Method Summary collapse
-
#initialize(cluster_name) ⇒ AmbariClusterCommand
constructor
private
Default constructor.
Methods inherited from BasicCommand
Constructor Details
#initialize(cluster_name) ⇒ AmbariClusterCommand (private)
Default constructor.
19 20 21 22 23 |
# File 'lib/command/ambari_cluster_command.rb', line 19 def initialize(cluster_name) super() @logger.info("Command::AmbariClusterCommand initialize the parameters...") @cluster_name = cluster_name end |
Instance Attribute Details
#cluster_name ⇒ Object
The cluster name
14 15 16 |
# File 'lib/command/ambari_cluster_command.rb', line 14 def cluster_name @cluster_name end |