/******************************************************************************* * 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>Activation OS</b></em>'. <!-- end-user-doc --> * <!-- begin-model-doc --> 4.0.0 This is an activator which will detect an operating system's attributes in order to * activate its profile. <!-- end-model-doc --> * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.m2e.model.edit.pom.ActivationOS#getName <em>Name</em>}</li> * <li>{@link org.eclipse.m2e.model.edit.pom.ActivationOS#getFamily <em>Family </em>}</li> * <li>{@link org.eclipse.m2e.model.edit.pom.ActivationOS#getArch <em>Arch</em>}</li> * <li>{@link org.eclipse.m2e.model.edit.pom.ActivationOS#getVersion <em>Version </em>}</li> * </ul> * </p> * * @see org.eclipse.m2e.model.edit.pom.PomPackage#getActivationOS() * @model extendedMetaData="name='ActivationOS' kind='elementOnly'" * @generated */ public interface ActivationOS extends EObject { /** * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> <!-- * begin-model-doc --> 4.0.0 The name of the operating system to be used to activate the profile. This must be an * exact match of the <code>${os.name}</code> Java property, such as <code>Windows XP</code>. * <!-- end-model-doc --> * * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @see org.eclipse.m2e.model.edit.pom.PomPackage#getActivationOS_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.ActivationOS#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>Family</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> <!-- * begin-model-doc --> 4.0.0 The general family of the OS to be used to activate the profile, such as * <code>windows</code> or <code>unix</code>. <!-- end-model-doc --> * * @return the value of the '<em>Family</em>' attribute. * @see #setFamily(String) * @see org.eclipse.m2e.model.edit.pom.PomPackage#getActivationOS_Family() * @model dataType="org.eclipse.emf.ecore.xml.type.String" extendedMetaData= * "kind='element' name='family' namespace='##targetNamespace'" * @generated */ String getFamily(); /** * Sets the value of the ' {@link org.eclipse.m2e.model.edit.pom.ActivationOS#getFamily <em>Family</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * * @param value the new value of the '<em>Family</em>' attribute. * @see #getFamily() * @generated */ void setFamily(String value); /** * Returns the value of the '<em><b>Arch</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> <!-- * begin-model-doc --> 4.0.0 The architecture of the operating system to be used to activate the profile. <!-- * end-model-doc --> * * @return the value of the '<em>Arch</em>' attribute. * @see #setArch(String) * @see org.eclipse.m2e.model.edit.pom.PomPackage#getActivationOS_Arch() * @model dataType="org.eclipse.emf.ecore.xml.type.String" extendedMetaData= * "kind='element' name='arch' namespace='##targetNamespace'" * @generated */ String getArch(); /** * Sets the value of the ' {@link org.eclipse.m2e.model.edit.pom.ActivationOS#getArch <em>Arch</em>}' attribute. <!-- * begin-user-doc --> <!-- end-user-doc --> * * @param value the new value of the '<em>Arch</em>' attribute. * @see #getArch() * @generated */ void setArch(String value); /** * Returns the value of the '<em><b>Version</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> <!-- * begin-model-doc --> 4.0.0 The version of the operating system to be used to activate the profile. <!-- * end-model-doc --> * * @return the value of the '<em>Version</em>' attribute. * @see #setVersion(String) * @see org.eclipse.m2e.model.edit.pom.PomPackage#getActivationOS_Version() * @model dataType="org.eclipse.emf.ecore.xml.type.String" extendedMetaData= * "kind='element' name='version' namespace='##targetNamespace'" * @generated */ String getVersion(); /** * Sets the value of the ' {@link org.eclipse.m2e.model.edit.pom.ActivationOS#getVersion <em>Version</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * * @param value the new value of the '<em>Version</em>' attribute. * @see #getVersion() * @generated */ void setVersion(String value); } // ActivationOS