Class: JenkinsJob::Postbuild::HipchatNotifications
- Inherits:
- BasicObject
- Defined in:
- lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb
Instance Attribute Summary collapse
-
#complete_message_ ⇒ Object
readonly
Returns the value of attribute complete_message_.
-
#notify_aborted_ ⇒ Object
readonly
Returns the value of attribute notify_aborted_.
-
#notify_back_to_normal_ ⇒ Object
readonly
Returns the value of attribute notify_back_to_normal_.
-
#notify_failure_ ⇒ Object
readonly
Returns the value of attribute notify_failure_.
-
#notify_not_built_ ⇒ Object
readonly
Returns the value of attribute notify_not_built_.
-
#notify_start_ ⇒ Object
readonly
Returns the value of attribute notify_start_.
-
#notify_success_ ⇒ Object
readonly
Returns the value of attribute notify_success_.
-
#notify_unstable_ ⇒ Object
readonly
Returns the value of attribute notify_unstable_.
-
#room_ ⇒ Object
readonly
Returns the value of attribute room_.
-
#start_message_ ⇒ Object
readonly
Returns the value of attribute start_message_.
-
#token_ ⇒ Object
readonly
Returns the value of attribute token_.
Instance Method Summary collapse
- #complete_message(value) ⇒ Object
-
#initialize ⇒ HipchatNotifications
constructor
A new instance of HipchatNotifications.
- #notify_aborted(value) ⇒ Object
- #notify_back_to_normal(value) ⇒ Object
- #notify_failure(value) ⇒ Object
- #notify_not_built(value) ⇒ Object
- #notify_start(value) ⇒ Object
- #notify_success(value) ⇒ Object
- #notify_unstable(value) ⇒ Object
- #room(value = '') ⇒ Object
- #start_message(value) ⇒ Object
- #token(value = '') ⇒ Object
Constructor Details
#initialize ⇒ HipchatNotifications
Returns a new instance of HipchatNotifications.
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 9 def initialize @token_ = '' @room_ = '' @notify_start_ = false @notify_success_ = false @notify_aborted_ = false @notify_not_built_ = false @notify_unstable_ = false @notify_failure_ = false @notify_back_to_normal_ = false = '' = '' end |
Instance Attribute Details
#complete_message_ ⇒ Object (readonly)
Returns the value of attribute complete_message_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def end |
#notify_aborted_ ⇒ Object (readonly)
Returns the value of attribute notify_aborted_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def notify_aborted_ @notify_aborted_ end |
#notify_back_to_normal_ ⇒ Object (readonly)
Returns the value of attribute notify_back_to_normal_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def notify_back_to_normal_ @notify_back_to_normal_ end |
#notify_failure_ ⇒ Object (readonly)
Returns the value of attribute notify_failure_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def notify_failure_ @notify_failure_ end |
#notify_not_built_ ⇒ Object (readonly)
Returns the value of attribute notify_not_built_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def notify_not_built_ @notify_not_built_ end |
#notify_start_ ⇒ Object (readonly)
Returns the value of attribute notify_start_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def notify_start_ @notify_start_ end |
#notify_success_ ⇒ Object (readonly)
Returns the value of attribute notify_success_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def notify_success_ @notify_success_ end |
#notify_unstable_ ⇒ Object (readonly)
Returns the value of attribute notify_unstable_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def notify_unstable_ @notify_unstable_ end |
#room_ ⇒ Object (readonly)
Returns the value of attribute room_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def room_ @room_ end |
#start_message_ ⇒ Object (readonly)
Returns the value of attribute start_message_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def end |
#token_ ⇒ Object (readonly)
Returns the value of attribute token_.
4 5 6 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 4 def token_ @token_ end |
Instance Method Details
#complete_message(value) ⇒ Object
63 64 65 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 63 def (value) = value end |
#notify_aborted(value) ⇒ Object
39 40 41 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 39 def notify_aborted(value) @notify_aborted_ = value end |
#notify_back_to_normal(value) ⇒ Object
55 56 57 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 55 def notify_back_to_normal(value) @notify_back_to_normal_ = value end |
#notify_failure(value) ⇒ Object
51 52 53 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 51 def notify_failure(value) @notify_failure_ = value end |
#notify_not_built(value) ⇒ Object
43 44 45 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 43 def notify_not_built(value) @notify_not_built_ = value end |
#notify_start(value) ⇒ Object
31 32 33 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 31 def notify_start(value) @notify_start_ = value end |
#notify_success(value) ⇒ Object
35 36 37 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 35 def notify_success(value) @notify_success_ = value end |
#notify_unstable(value) ⇒ Object
47 48 49 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 47 def notify_unstable(value) @notify_unstable_ = value end |
#room(value = '') ⇒ Object
27 28 29 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 27 def room(value = '') @room_ = value end |
#start_message(value) ⇒ Object
59 60 61 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 59 def (value) = value end |
#token(value = '') ⇒ Object
23 24 25 |
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 23 def token(value = '') @token_ = value end |