Class: JenkinsJob::Postbuild::HipchatNotifications

Inherits:
BasicObject
Defined in:
lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHipchatNotifications

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
  @start_message_ = ''
  @complete_message_ = ''
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 complete_message_
  @complete_message_
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 start_message_
  @start_message_
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 complete_message(value)
  @complete_message_ = 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 start_message(value)
  @start_message_ = value
end

#token(value = '') ⇒ Object



23
24
25
# File 'lib/rubyjobbuilderdsl/postbuild/hipchat_notifications.rb', line 23

def token(value = '')
  @token_ = value
end