Class: Command::CrowbarCommand
- Inherits:
-
BasicCommand
- Object
- BasicCommand
- Command::CrowbarCommand
- Defined in:
- lib/command/crowbar_command.rb
Overview
This class implement a BasicCommand. It essentially constrain the receiver to be a CrowbarReceiver.
Direct Known Subclasses
CrowbarClusterAllocate, CrowbarGetBarclampsList, CrowbarNodeCommand, CrowbarNodeList, CrowbarVclusterCommand
Instance Attribute Summary
Attributes inherited from BasicCommand
Instance Method Summary collapse
- #exec ⇒ Object
-
#initialize(logger = nil) ⇒ CrowbarCommand
constructor
private
A new instance of CrowbarCommand.
Constructor Details
#initialize(logger = nil) ⇒ CrowbarCommand (private)
Returns a new instance of CrowbarCommand.
17 18 19 20 |
# File 'lib/command/crowbar_command.rb', line 17 def initialize(logger = nil) super(Receiver::CrowbarReceiver.new(logger), logger) @logger.info("Command::CrowbarCommand initialize the parameters...") end |
Instance Method Details
#exec ⇒ Object
25 26 27 |
# File 'lib/command/crowbar_command.rb', line 25 def exec() raise NotImplementedError end |