1
2
3
4
5 package org.apache.maven.model;
6
7
8
9
10
11 import java.util.Date;
12
13
14
15
16
17
18
19
20
21
22
23
24 public class CiManagement implements java.io.Serializable {
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 private String system;
40
41
42
43
44
45
46 private String url;
47
48
49
50
51 private java.util.List notifiers;
52
53
54
55
56
57
58
59
60
61
62
63 public void addNotifier( Notifier notifier )
64 {
65 if ( !(notifier instanceof Notifier) )
66 {
67 throw new ClassCastException( "CiManagement.addNotifiers(notifier) parameter must be instanceof " + Notifier.class.getName() );
68 }
69 getNotifiers().add( notifier );
70 }
71
72
73
74
75
76
77 public java.util.List getNotifiers()
78 {
79 if ( this.notifiers == null )
80 {
81 this.notifiers = new java.util.ArrayList();
82 }
83
84 return this.notifiers;
85 }
86
87
88
89
90
91
92
93
94
95
96
97 public String getSystem()
98 {
99 return this.system;
100 }
101
102
103
104
105
106
107
108
109 public String getUrl()
110 {
111 return this.url;
112 }
113
114
115
116
117
118
119 public void removeNotifier( Notifier notifier )
120 {
121 if ( !(notifier instanceof Notifier) )
122 {
123 throw new ClassCastException( "CiManagement.removeNotifiers(notifier) parameter must be instanceof " + Notifier.class.getName() );
124 }
125 getNotifiers().remove( notifier );
126 }
127
128
129
130
131
132
133
134
135
136 public void setNotifiers( java.util.List notifiers )
137 {
138 this.notifiers = notifiers;
139 }
140
141
142
143
144
145
146
147
148
149
150
151 public void setSystem( String system )
152 {
153 this.system = system;
154 }
155
156
157
158
159
160
161
162
163 public void setUrl( String url )
164 {
165 this.url = url;
166 }
167
168
169 private String modelEncoding = "UTF-8";
170
171
172
173
174
175
176 public void setModelEncoding( String modelEncoding )
177 {
178 this.modelEncoding = modelEncoding;
179 }
180
181
182
183
184 public String getModelEncoding()
185 {
186 return modelEncoding;
187 }
188 }