| /******************************************************************************* |
| * Copyright (c) 2008, 2011 Sonatype Inc. and others. |
| * 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.tycho.core.osgitools; |
| |
| import java.io.File; |
| import java.util.Set; |
| |
| import org.eclipse.tycho.ArtifactKey; |
| import org.eclipse.tycho.ReactorProject; |
| import org.eclipse.tycho.core.PluginDescription; |
| import org.eclipse.tycho.model.PluginRef; |
| |
| public class DefaultPluginDescription extends DefaultArtifactDescriptor implements PluginDescription { |
| |
| private PluginRef pluginRef; |
| |
| public DefaultPluginDescription(ArtifactKey key, File location, ReactorProject project, String classifier, |
| PluginRef pluginRef, Set<Object> installableUnits) { |
| super(key, location, project, classifier, installableUnits); |
| this.pluginRef = pluginRef; |
| } |
| |
| @Override |
| public PluginRef getPluginRef() { |
| return pluginRef; |
| } |
| |
| } |