1
2
3
4
5
6
7
8 package org.apache.maven.continuum.model.scm.v1_0_9;
9
10
11
12
13
14 import org.apache.maven.continuum.model.project.v1_0_9.BuildDefinition;
15 import org.apache.maven.continuum.model.project.v1_0_9.BuildResult;
16 import org.apache.maven.continuum.model.project.v1_0_9.ContinuumDatabase;
17 import org.apache.maven.continuum.model.project.v1_0_9.Project;
18 import org.apache.maven.continuum.model.project.v1_0_9.ProjectDependency;
19 import org.apache.maven.continuum.model.project.v1_0_9.ProjectDeveloper;
20 import org.apache.maven.continuum.model.project.v1_0_9.ProjectGroup;
21 import org.apache.maven.continuum.model.project.v1_0_9.ProjectNotifier;
22 import org.apache.maven.continuum.model.project.v1_0_9.Schedule;
23 import org.apache.maven.continuum.model.system.v1_0_9.NotificationAddress;
24 import org.apache.maven.continuum.model.system.v1_0_9.SystemConfiguration;
25
26
27
28
29
30
31 @SuppressWarnings( "all" )
32 public class ScmResult
33 implements java.io.Serializable
34 {
35
36
37
38
39
40
41
42
43 private boolean success = false;
44
45
46
47
48 private String commandLine;
49
50
51
52
53 private String providerMessage;
54
55
56
57
58 private String commandOutput;
59
60
61
62
63 private String exception;
64
65
66
67
68 private java.util.List<ChangeSet> changes;
69
70
71
72
73
74
75
76
77
78
79
80 public void addChange( ChangeSet changeSet )
81 {
82 getChanges().add( changeSet );
83 }
84
85
86
87
88
89
90 public java.util.List<ChangeSet> getChanges()
91 {
92 if ( this.changes == null )
93 {
94 this.changes = new java.util.ArrayList<ChangeSet>();
95 }
96
97 return this.changes;
98 }
99
100
101
102
103
104
105 public String getCommandLine()
106 {
107 return this.commandLine;
108 }
109
110
111
112
113
114
115 public String getCommandOutput()
116 {
117 return this.commandOutput;
118 }
119
120
121
122
123
124
125 public String getException()
126 {
127 return this.exception;
128 }
129
130
131
132
133
134
135 public String getProviderMessage()
136 {
137 return this.providerMessage;
138 }
139
140
141
142
143
144
145 public boolean isSuccess()
146 {
147 return this.success;
148 }
149
150
151
152
153
154
155 public void removeChange( ChangeSet changeSet )
156 {
157 getChanges().remove( changeSet );
158 }
159
160
161
162
163
164
165 public void setChanges( java.util.List<ChangeSet> changes )
166 {
167 this.changes = changes;
168 }
169
170
171
172
173
174
175 public void setCommandLine( String commandLine )
176 {
177 this.commandLine = commandLine;
178 }
179
180
181
182
183
184
185 public void setCommandOutput( String commandOutput )
186 {
187 this.commandOutput = commandOutput;
188 }
189
190
191
192
193
194
195 public void setException( String exception )
196 {
197 this.exception = exception;
198 }
199
200
201
202
203
204
205 public void setProviderMessage( String providerMessage )
206 {
207 this.providerMessage = providerMessage;
208 }
209
210
211
212
213
214
215 public void setSuccess( boolean success )
216 {
217 this.success = success;
218 }
219
220 }