Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0d042911fd64082eea76cf69f265c95402e717ee (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
/*******************************************************************************
 * 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 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * 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>Deployment Repository</b></em>'. <!--
 * end-user-doc --> <!-- begin-model-doc --> 4.0.0 Repository contains the information needed for deploying to the
 * remote repoistory. <!-- end-model-doc -->
 * <p>
 * The following features are supported:
 * <ul>
 * <li>
 * {@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getUniqueVersion <em>Unique Version</em>}</li>
 * <li>{@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getId <em>Id </em>}</li>
 * <li>{@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getName <em>Name </em>}</li>
 * <li>{@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getUrl <em>Url </em>}</li>
 * <li>{@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getLayout <em> Layout</em>}</li>
 * </ul>
 * </p>
 * 
 * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDeploymentRepository()
 * @model extendedMetaData="name='DeploymentRepository' kind='elementOnly'"
 * @generated
 */
public interface DeploymentRepository extends EObject {
  /**
   * Returns the value of the '<em><b>Unique Version</b></em>' attribute. The default value is <code>"true"</code>. <!--
   * begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> 4.0.0 Whether to assign snapshots a unique
   * version comprised of the timestamp and build number, or to use the same version each time <!-- end-model-doc -->
   * 
   * @return the value of the '<em>Unique Version</em>' attribute.
   * @see #isSetUniqueVersion()
   * @see #unsetUniqueVersion()
   * @see #setUniqueVersion(String)
   * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDeploymentRepository_UniqueVersion()
   * @model default="true" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String" extendedMetaData=
   *        "kind='element' name='uniqueVersion' namespace='##targetNamespace'"
   * @generated
   */
  String getUniqueVersion();

  /**
   * Sets the value of the ' {@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getUniqueVersion
   * <em>Unique Version</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
   * 
   * @param value the new value of the '<em>Unique Version</em>' attribute.
   * @see #isSetUniqueVersion()
   * @see #unsetUniqueVersion()
   * @see #getUniqueVersion()
   * @generated
   */
  void setUniqueVersion(String value);

  /**
   * Unsets the value of the ' {@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getUniqueVersion
   * <em>Unique Version</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
   * 
   * @see #isSetUniqueVersion()
   * @see #getUniqueVersion()
   * @see #setUniqueVersion(String)
   * @generated
   */
  void unsetUniqueVersion();

  /**
   * Returns whether the value of the ' {@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getUniqueVersion
   * <em>Unique Version</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
   * 
   * @return whether the value of the '<em>Unique Version</em>' attribute is set.
   * @see #unsetUniqueVersion()
   * @see #getUniqueVersion()
   * @see #setUniqueVersion(String)
   * @generated
   */
  boolean isSetUniqueVersion();

  /**
   * Returns the value of the '<em><b>Id</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
   * begin-model-doc --> 4.0.0 A unique identifier for a repository. This is used to match the repository to
   * configuration in the &lt;code&gt;settings.xml&lt;/code&gt; file, for example. <!-- end-model-doc -->
   * 
   * @return the value of the '<em>Id</em>' attribute.
   * @see #setId(String)
   * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDeploymentRepository_Id()
   * @model dataType="org.eclipse.emf.ecore.xml.type.String" extendedMetaData=
   *        "kind='element' name='id' namespace='##targetNamespace'"
   * @generated
   */
  String getId();

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

  /**
   * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
   * begin-model-doc --> 4.0.0 Human readable name of the repository. <!-- end-model-doc -->
   * 
   * @return the value of the '<em>Name</em>' attribute.
   * @see #setName(String)
   * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDeploymentRepository_Name()
   * @model dataType="org.eclipse.emf.ecore.xml.type.String" extendedMetaData=
   *        "kind='element' name='name' namespace='##targetNamespace'"
   * @generated
   */
  String getName();

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

  /**
   * Returns the value of the '<em><b>Url</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
   * begin-model-doc --> 4.0.0 The url of the repository, in the form &lt;code&gt;protocol://hostname/path&lt;/code&gt;.
   * <!-- end-model-doc -->
   * 
   * @return the value of the '<em>Url</em>' attribute.
   * @see #setUrl(String)
   * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDeploymentRepository_Url()
   * @model dataType="org.eclipse.emf.ecore.xml.type.String" extendedMetaData=
   *        "kind='element' name='url' namespace='##targetNamespace'"
   * @generated
   */
  String getUrl();

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

  /**
   * Returns the value of the '<em><b>Layout</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
   * begin-model-doc --> 4.0.0 The type of layout this repository uses for locating and storing artifacts - can be
   * &lt;code&gt;legacy&lt;/code&gt; or &lt;code&gt;default&lt;/code&gt;. <!-- end-model-doc -->
   * 
   * @return the value of the '<em>Layout</em>' attribute.
   * @see #isSetLayout()
   * @see #unsetLayout()
   * @see #setLayout(String)
   * @see org.eclipse.m2e.model.edit.pom.PomPackage#getDeploymentRepository_Layout()
   * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String" extendedMetaData
   *        ="kind='element' name='layout' namespace='##targetNamespace'"
   * @generated
   */
  String getLayout();

  /**
   * Sets the value of the ' {@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getLayout <em>Layout</em>}'
   * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
   * 
   * @param value the new value of the '<em>Layout</em>' attribute.
   * @see #isSetLayout()
   * @see #unsetLayout()
   * @see #getLayout()
   * @generated
   */
  void setLayout(String value);

  /**
   * Unsets the value of the ' {@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getLayout <em>Layout</em>}'
   * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
   * 
   * @see #isSetLayout()
   * @see #getLayout()
   * @see #setLayout(String)
   * @generated
   */
  void unsetLayout();

  /**
   * Returns whether the value of the ' {@link org.eclipse.m2e.model.edit.pom.DeploymentRepository#getLayout
   * <em>Layout</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
   * 
   * @return whether the value of the '<em>Layout</em>' attribute is set.
   * @see #unsetLayout()
   * @see #getLayout()
   * @see #setLayout(String)
   * @generated
   */
  boolean isSetLayout();

} // DeploymentRepository

Back to the top