Class: RabbitMq::Node
- Inherits:
-
Shared::GroupableNode
- Object
- Shared::Resource
- Shared::Node
- Shared::GroupableNode
- RabbitMq::Node
- Defined in:
- lib/vas/rabbitmq/nodes.rb
Overview
A Rabbit node
Instance Attribute Summary collapse
-
#java_home ⇒ Object
readonly
The Node’s Java home.
Attributes inherited from Shared::Node
#agent_home, #architecture, #host_names, #ip_addresses, #metadata, #operating_system
Attributes inherited from Shared::Resource
Instance Method Summary collapse
-
#initialize(location, client) ⇒ Node
constructor
:nodoc:.
- #instances ⇒ Object
-
#to_s ⇒ Object
:nodoc:.
Methods inherited from Shared::GroupableNode
Constructor Details
Instance Attribute Details
#java_home ⇒ Object (readonly)
The Node’s Java home
33 34 35 |
# File 'lib/vas/rabbitmq/nodes.rb', line 33 def java_home @java_home end |
Instance Method Details
#instances ⇒ Object
40 41 42 |
# File 'lib/vas/rabbitmq/nodes.rb', line 40 def instances @instances = NodeInstances.new(Util::LinkUtils.get_link_href(details, "node-instances"), client) end |
#to_s ⇒ Object
:nodoc:
44 45 46 |
# File 'lib/vas/rabbitmq/nodes.rb', line 44 def to_s #:nodoc: "#<#{self.class} host_names='#{host_names}' ip_addresses='#{ip_addresses}' operating_system='#{}' architecture='#{architecture}' agent_home='#{agent_home}' java_home='#{java_home}' metadata='#{}'>" end |