1 /*
2 =================== DO NOT EDIT THIS FILE ====================
3 Generated by Modello
4 any modifications will be overwritten.
5 ==============================================================
6 */
7
8 package org.apache.maven.continuum.web.model;
9
10 /**
11 * Class NotifierSummary.
12 *
13 * @version $Revision$ $Date$
14 */
15 @SuppressWarnings( "all" )
16 public class NotifierSummary
17 implements java.io.Serializable
18 {
19
20 //--------------------------/
21 //- Class/Member Variables -/
22 //--------------------------/
23
24 /**
25 * id of the notifier.
26 */
27 private int id = 0;
28
29 /**
30 * project id of the project containing the notifier.
31 */
32 private int projectId = 0;
33
34 /**
35 * project name of the project containing the notifier.
36 */
37 private String projectName;
38
39 /**
40 * project group id of the project group with the notifier.
41 */
42 private int projectGroupId = 0;
43
44 /**
45 * Type of notifier - mail, IRC, jabber etc.
46 */
47 private String type;
48
49 /**
50 * The origin of the notifier (pom or user).
51 */
52 private boolean fromProject = false;
53
54 /**
55 * Events that trigger this notifier.
56 */
57 private String events;
58
59 /**
60 * Recipient for notifications generated by the notifier.
61 */
62 private String recipient;
63
64 /**
65 * Sender of the notifications.
66 */
67 private String sender;
68
69 /**
70 * Determines if the notifier is enabled.
71 */
72 private boolean enabled = false;
73
74
75 //-----------/
76 //- Methods -/
77 //-----------/
78
79 /**
80 * Get events that trigger this notifier.
81 *
82 * @return String
83 */
84 public String getEvents()
85 {
86 return this.events;
87 } //-- String getEvents()
88
89 /**
90 * Get id of the notifier.
91 *
92 * @return int
93 */
94 public int getId()
95 {
96 return this.id;
97 } //-- int getId()
98
99 /**
100 * Get project group id of the project group with the notifier.
101 *
102 * @return int
103 */
104 public int getProjectGroupId()
105 {
106 return this.projectGroupId;
107 } //-- int getProjectGroupId()
108
109 /**
110 * Get project id of the project containing the notifier.
111 *
112 * @return int
113 */
114 public int getProjectId()
115 {
116 return this.projectId;
117 } //-- int getProjectId()
118
119 /**
120 * Get project name of the project containing the notifier.
121 *
122 * @return String
123 */
124 public String getProjectName()
125 {
126 return this.projectName;
127 } //-- String getProjectName()
128
129 /**
130 * Get recipient for notifications generated by the notifier.
131 *
132 * @return String
133 */
134 public String getRecipient()
135 {
136 return this.recipient;
137 } //-- String getRecipient()
138
139 /**
140 * Get sender of the notifications.
141 *
142 * @return String
143 */
144 public String getSender()
145 {
146 return this.sender;
147 } //-- String getSender()
148
149 /**
150 * Get type of notifier - mail, IRC, jabber etc.
151 *
152 * @return String
153 */
154 public String getType()
155 {
156 return this.type;
157 } //-- String getType()
158
159 /**
160 * Get determines if the notifier is enabled.
161 *
162 * @return boolean
163 */
164 public boolean isEnabled()
165 {
166 return this.enabled;
167 } //-- boolean isEnabled()
168
169 /**
170 * Get the origin of the notifier (pom or user).
171 *
172 * @return boolean
173 */
174 public boolean isFromProject()
175 {
176 return this.fromProject;
177 } //-- boolean isFromProject()
178
179 /**
180 * Set determines if the notifier is enabled.
181 *
182 * @param enabled
183 */
184 public void setEnabled( boolean enabled )
185 {
186 this.enabled = enabled;
187 } //-- void setEnabled( boolean )
188
189 /**
190 * Set events that trigger this notifier.
191 *
192 * @param events
193 */
194 public void setEvents( String events )
195 {
196 this.events = events;
197 } //-- void setEvents( String )
198
199 /**
200 * Set the origin of the notifier (pom or user).
201 *
202 * @param fromProject
203 */
204 public void setFromProject( boolean fromProject )
205 {
206 this.fromProject = fromProject;
207 } //-- void setFromProject( boolean )
208
209 /**
210 * Set id of the notifier.
211 *
212 * @param id
213 */
214 public void setId( int id )
215 {
216 this.id = id;
217 } //-- void setId( int )
218
219 /**
220 * Set project group id of the project group with the notifier.
221 *
222 * @param projectGroupId
223 */
224 public void setProjectGroupId( int projectGroupId )
225 {
226 this.projectGroupId = projectGroupId;
227 } //-- void setProjectGroupId( int )
228
229 /**
230 * Set project id of the project containing the notifier.
231 *
232 * @param projectId
233 */
234 public void setProjectId( int projectId )
235 {
236 this.projectId = projectId;
237 } //-- void setProjectId( int )
238
239 /**
240 * Set project name of the project containing the notifier.
241 *
242 * @param projectName
243 */
244 public void setProjectName( String projectName )
245 {
246 this.projectName = projectName;
247 } //-- void setProjectName( String )
248
249 /**
250 * Set recipient for notifications generated by the notifier.
251 *
252 * @param recipient
253 */
254 public void setRecipient( String recipient )
255 {
256 this.recipient = recipient;
257 } //-- void setRecipient( String )
258
259 /**
260 * Set sender of the notifications.
261 *
262 * @param sender
263 */
264 public void setSender( String sender )
265 {
266 this.sender = sender;
267 } //-- void setSender( String )
268
269 /**
270 * Set type of notifier - mail, IRC, jabber etc.
271 *
272 * @param type
273 */
274 public void setType( String type )
275 {
276 this.type = type;
277 } //-- void setType( String )
278
279 }