| /******************************************************************************* |
| * 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>Site</b></em>'. <!-- end-user-doc --> <!-- |
| * begin-model-doc --> 4.0.0 Contains the information needed for deploying websites. <!-- end-model-doc --> |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.m2e.model.edit.pom.Site#getId <em>Id</em>}</li> |
| * <li>{@link org.eclipse.m2e.model.edit.pom.Site#getName <em>Name</em>}</li> |
| * <li>{@link org.eclipse.m2e.model.edit.pom.Site#getUrl <em>Url</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.m2e.model.edit.pom.PomPackage#getSite() |
| * @model extendedMetaData="name='Site' kind='elementOnly'" |
| * @generated |
| */ |
| public interface Site extends EObject { |
| /** |
| * 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 deployment locataion. This is used to match the site to |
| * configuration in the <code>settings.xml</code> 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#getSite_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.Site#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 deployment location. <!-- end-model-doc --> |
| * |
| * @return the value of the '<em>Name</em>' attribute. |
| * @see #setName(String) |
| * @see org.eclipse.m2e.model.edit.pom.PomPackage#getSite_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.Site#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 location where website is deployed, in the form |
| * <code>protocol://hostname/path</code>. <!-- end-model-doc --> |
| * |
| * @return the value of the '<em>Url</em>' attribute. |
| * @see #setUrl(String) |
| * @see org.eclipse.m2e.model.edit.pom.PomPackage#getSite_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.Site#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); |
| |
| } // Site |