Class: Bamboo::Service::Status
- Inherits:
-
Object
- Object
- Bamboo::Service::Status
- Defined in:
- lib/puppet_x/bamboo/server.rb
Instance Attribute Summary collapse
-
#log_message ⇒ Object
readonly
Returns the value of attribute log_message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Class Method Summary collapse
-
.broken(log_message) ⇒ Object
Service failed to start up and and will not recover by waiting any longer.
-
.not_running(log_message) ⇒ Object
Service is still starting up …
-
.running ⇒ Object
Service is running.
Instance Method Summary collapse
-
#initialize(status, log_message) ⇒ Status
constructor
A new instance of Status.
Constructor Details
#initialize(status, log_message) ⇒ Status
Returns a new instance of Status.
68 69 70 71 |
# File 'lib/puppet_x/bamboo/server.rb', line 68 def initialize(status, ) @status = status @log_message = end |
Instance Attribute Details
#log_message ⇒ Object (readonly)
Returns the value of attribute log_message.
66 67 68 |
# File 'lib/puppet_x/bamboo/server.rb', line 66 def @log_message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
66 67 68 |
# File 'lib/puppet_x/bamboo/server.rb', line 66 def status @status end |
Class Method Details
.broken(log_message) ⇒ Object
Service failed to start up and and will not recover by waiting any longer.
87 88 89 |
# File 'lib/puppet_x/bamboo/server.rb', line 87 def self.broken() Status.new(:broken, ) end |