Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0c0cfa5242ff49dc232c36613a061ea814a77a55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
/*******************************************************************************
 * Copyright (c) 2008-2010 Sonatype, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *      Sonatype, Inc. - initial API and implementation
 *******************************************************************************/

package org.eclipse.m2e.model.edit.pom;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc --> A representation of the model object '
 * <em><b>Distribution Management</b></em>'. <!-- end-user-doc -->
 * 
 * <!-- begin-model-doc --> 4.0.0
 * 
 * This elements describes all that pertains to distribution for a project. It
 * is primarily used for deployment of artifacts and the site produced by the
 * build.
 * 
 * <!-- end-model-doc -->
 * 
 * <p>
 * The following features are supported:
 * <ul>
 * <li>{@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getRepository
 * <em>Repository</em>}</li>
 * <li>
 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getSnapshotRepository
 * <em>Snapshot Repository</em>}</li>
 * <li>{@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getSite <em>
 * Site</em>}</li>
 * <li>
 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getDownloadUrl
 * <em>Download Url</em>}</li>
 * <li>{@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getRelocation
 * <em>Relocation</em>}</li>
 * <li>{@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getStatus <em>
 * Status</em>}</li>
 * </ul>
 * </p>
 * 
 * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDistributionManagement()
 * @model extendedMetaData="name='DistributionManagement' kind='elementOnly'"
 * @generated
 */
public interface DistributionManagement extends EObject {
	/**
	 * Returns the value of the '<em><b>Repository</b></em>' containment
	 * reference. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
	 * begin-model-doc --> 4.0.0
	 * 
	 * Information needed to deploy the artifacts generated by the project to a
	 * remote repository.
	 * 
	 * <!-- end-model-doc -->
	 * 
	 * @return the value of the '<em>Repository</em>' containment reference.
	 * @see #isSetRepository()
	 * @see #unsetRepository()
	 * @see #setRepository(DeploymentRepository)
	 * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDistributionManagement_Repository()
	 * @model containment="true" unsettable="true" extendedMetaData=
	 *        "kind='element' name='repository' namespace='##targetNamespace'"
	 * @generated
	 */
	DeploymentRepository getRepository();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getRepository
	 * <em>Repository</em>}' containment reference. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @param value
	 *            the new value of the '<em>Repository</em>' containment
	 *            reference.
	 * @see #isSetRepository()
	 * @see #unsetRepository()
	 * @see #getRepository()
	 * @generated
	 */
	void setRepository(DeploymentRepository value);

	/**
	 * Unsets the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getRepository
	 * <em>Repository</em>}' containment reference. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @see #isSetRepository()
	 * @see #getRepository()
	 * @see #setRepository(DeploymentRepository)
	 * @generated
	 */
	void unsetRepository();

	/**
	 * Returns whether the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getRepository
	 * <em>Repository</em>}' containment reference is set. <!-- begin-user-doc
	 * --> <!-- end-user-doc -->
	 * 
	 * @return whether the value of the '<em>Repository</em>' containment
	 *         reference is set.
	 * @see #unsetRepository()
	 * @see #getRepository()
	 * @see #setRepository(DeploymentRepository)
	 * @generated
	 */
	boolean isSetRepository();

	/**
	 * Returns the value of the '<em><b>Snapshot Repository</b></em>'
	 * containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
	 * begin-model-doc --> 4.0.0
	 * 
	 * Where to deploy snapshots of artifacts to. If not given, it defaults to
	 * the &lt;code&gt;repository&lt;/code&gt; element.
	 * 
	 * <!-- end-model-doc -->
	 * 
	 * @return the value of the '<em>Snapshot Repository</em>' containment
	 *         reference.
	 * @see #isSetSnapshotRepository()
	 * @see #unsetSnapshotRepository()
	 * @see #setSnapshotRepository(DeploymentRepository)
	 * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDistributionManagement_SnapshotRepository()
	 * @model containment="true" unsettable="true" extendedMetaData=
	 *        "kind='element' name='snapshotRepository' namespace='##targetNamespace'"
	 * @generated
	 */
	DeploymentRepository getSnapshotRepository();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getSnapshotRepository
	 * <em>Snapshot Repository</em>}' containment reference. <!-- begin-user-doc
	 * --> <!-- end-user-doc -->
	 * 
	 * @param value
	 *            the new value of the '<em>Snapshot Repository</em>'
	 *            containment reference.
	 * @see #isSetSnapshotRepository()
	 * @see #unsetSnapshotRepository()
	 * @see #getSnapshotRepository()
	 * @generated
	 */
	void setSnapshotRepository(DeploymentRepository value);

	/**
	 * Unsets the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getSnapshotRepository
	 * <em>Snapshot Repository</em>}' containment reference. <!-- begin-user-doc
	 * --> <!-- end-user-doc -->
	 * 
	 * @see #isSetSnapshotRepository()
	 * @see #getSnapshotRepository()
	 * @see #setSnapshotRepository(DeploymentRepository)
	 * @generated
	 */
	void unsetSnapshotRepository();

	/**
	 * Returns whether the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getSnapshotRepository
	 * <em>Snapshot Repository</em>}' containment reference is set. <!--
	 * begin-user-doc --> <!-- end-user-doc -->
	 * 
	 * @return whether the value of the '<em>Snapshot Repository</em>'
	 *         containment reference is set.
	 * @see #unsetSnapshotRepository()
	 * @see #getSnapshotRepository()
	 * @see #setSnapshotRepository(DeploymentRepository)
	 * @generated
	 */
	boolean isSetSnapshotRepository();

	/**
	 * Returns the value of the '<em><b>Site</b></em>' containment reference.
	 * <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc -->
	 * 4.0.0
	 * 
	 * Information needed for deploying the web site of the project.
	 * 
	 * <!-- end-model-doc -->
	 * 
	 * @return the value of the '<em>Site</em>' containment reference.
	 * @see #isSetSite()
	 * @see #unsetSite()
	 * @see #setSite(Site)
	 * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDistributionManagement_Site()
	 * @model containment="true" unsettable="true" extendedMetaData=
	 *        "kind='element' name='site' namespace='##targetNamespace'"
	 * @generated
	 */
	Site getSite();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getSite
	 * <em>Site</em>}' containment reference. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @param value
	 *            the new value of the '<em>Site</em>' containment reference.
	 * @see #isSetSite()
	 * @see #unsetSite()
	 * @see #getSite()
	 * @generated
	 */
	void setSite(Site value);

	/**
	 * Unsets the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getSite
	 * <em>Site</em>}' containment reference. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @see #isSetSite()
	 * @see #getSite()
	 * @see #setSite(Site)
	 * @generated
	 */
	void unsetSite();

	/**
	 * Returns whether the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getSite
	 * <em>Site</em>}' containment reference is set. <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * 
	 * @return whether the value of the '<em>Site</em>' containment reference is
	 *         set.
	 * @see #unsetSite()
	 * @see #getSite()
	 * @see #setSite(Site)
	 * @generated
	 */
	boolean isSetSite();

	/**
	 * Returns the value of the '<em><b>Download Url</b></em>' attribute. <!--
	 * begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> 4.0.0+
	 * 
	 * The URL of the project's download page. If not given users will be
	 * referred to the homepage given by &lt;code&gt;url&lt;/code&gt;. This is
	 * given to assist in locating artifacts that are not in the repository due
	 * to licensing restrictions.
	 * 
	 * <!-- end-model-doc -->
	 * 
	 * @return the value of the '<em>Download Url</em>' attribute.
	 * @see #setDownloadUrl(String)
	 * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDistributionManagement_DownloadUrl()
	 * @model dataType="org.eclipse.emf.ecore.xml.type.String" extendedMetaData=
	 *        "kind='element' name='downloadUrl' namespace='##targetNamespace'"
	 * @generated
	 */
	String getDownloadUrl();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getDownloadUrl
	 * <em>Download Url</em>}' attribute. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @param value
	 *            the new value of the '<em>Download Url</em>' attribute.
	 * @see #getDownloadUrl()
	 * @generated
	 */
	void setDownloadUrl(String value);

	/**
	 * Returns the value of the '<em><b>Relocation</b></em>' containment
	 * reference. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
	 * begin-model-doc --> 4.0.0
	 * 
	 * Relocation information of the artifact if it has been moved to a new
	 * group ID and/or artifact ID.
	 * 
	 * <!-- end-model-doc -->
	 * 
	 * @return the value of the '<em>Relocation</em>' containment reference.
	 * @see #isSetRelocation()
	 * @see #unsetRelocation()
	 * @see #setRelocation(Relocation)
	 * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDistributionManagement_Relocation()
	 * @model containment="true" unsettable="true" extendedMetaData=
	 *        "kind='element' name='relocation' namespace='##targetNamespace'"
	 * @generated
	 */
	Relocation getRelocation();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getRelocation
	 * <em>Relocation</em>}' containment reference. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @param value
	 *            the new value of the '<em>Relocation</em>' containment
	 *            reference.
	 * @see #isSetRelocation()
	 * @see #unsetRelocation()
	 * @see #getRelocation()
	 * @generated
	 */
	void setRelocation(Relocation value);

	/**
	 * Unsets the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getRelocation
	 * <em>Relocation</em>}' containment reference. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @see #isSetRelocation()
	 * @see #getRelocation()
	 * @see #setRelocation(Relocation)
	 * @generated
	 */
	void unsetRelocation();

	/**
	 * Returns whether the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getRelocation
	 * <em>Relocation</em>}' containment reference is set. <!-- begin-user-doc
	 * --> <!-- end-user-doc -->
	 * 
	 * @return whether the value of the '<em>Relocation</em>' containment
	 *         reference is set.
	 * @see #unsetRelocation()
	 * @see #getRelocation()
	 * @see #setRelocation(Relocation)
	 * @generated
	 */
	boolean isSetRelocation();

	/**
	 * Returns the value of the '<em><b>Status</b></em>' attribute. <!--
	 * begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> 4.0.0
	 * 
	 * Gives the status of this artifact in the remote repository. This must not
	 * be set in your local project, as it is updated by tools placing it in the
	 * reposiory. Valid values are: &lt;code&gt;none&lt;/code&gt; (default),
	 * &lt;code&gt;converted&lt;/code&gt; (repository manager converted this
	 * from an Maven 1 POM), &lt;code&gt;partner&lt;/code&gt; (directly synced
	 * from a partner Maven 2 repository), &lt;code&gt;deployed&lt;/code&gt;
	 * (was deployed from a Maven 2 instance), &lt;code&gt;verified&lt;/code&gt;
	 * (has been hand verified as correct and final).
	 * 
	 * <!-- end-model-doc -->
	 * 
	 * @return the value of the '<em>Status</em>' attribute.
	 * @see #setStatus(String)
	 * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDistributionManagement_Status()
	 * @model dataType="org.eclipse.emf.ecore.xml.type.String" extendedMetaData=
	 *        "kind='element' name='status' namespace='##targetNamespace'"
	 * @generated
	 */
	String getStatus();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.m2e.model.edit.pom.DistributionManagement#getStatus
	 * <em>Status</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
	 * -->
	 * 
	 * @param value
	 *            the new value of the '<em>Status</em>' attribute.
	 * @see #getStatus()
	 * @generated
	 */
	void setStatus(String value);

} // DistributionManagement

Back to the top