/*******************************************************************************
 *  Copyright (c) 2000, 2008 IBM Corporation and others.
 *
 *  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:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.pde.internal.core.ibundle;

import org.eclipse.pde.core.IModelChangedListener;
import org.eclipse.pde.core.plugin.IPluginBase;

/**
 * This interface represents an adapter that merges the notion of
 * a plug-in base (either plug-in or fragment) and OSGi bundle.
 * The goal is to maintain the expected plug-in interface
 * to the rest of the framework for both classic plug-ins
 * (with plugin.xml/fragment.xml) and new style (OSGi)
 * plug-ins with META-INF/MANIFEST.MF file.
 */
public interface IBundlePluginBase extends IPluginBase, IModelChangedListener {

	String getTargetVersion();

	void setTargetVersion(String target);

}
