| 1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2008, 2010 EclipseSource and others. |
| 3 |
* |
| 4 |
* This program and the accompanying materials |
| 5 |
* are made available under the terms of the Eclipse Public License 2.0 |
| 6 |
* which accompanies this distribution, and is available at |
| 7 |
* https://www.eclipse.org/legal/epl-2.0/ |
| 8 |
* |
| 9 |
* SPDX-License-Identifier: EPL-2.0 |
| 10 |
* |
| 11 |
* Contributors: |
| 12 |
* Eclipse Source - initial API and implementation |
| 13 |
* IBM Corporation - ongoing development |
| 14 |
*******************************************************************************/ |
| 15 |
package org.eclipse.equinox.p2.publisher.actions; |
| 16 |
|
| 17 |
import org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription; |
| 18 |
|
| 19 |
import org.eclipse.equinox.p2.metadata.IProvidedCapability; |
| 20 |
import org.eclipse.equinox.p2.metadata.IRequirement; |
| 21 |
import org.eclipse.equinox.p2.publisher.IPublisherAdvice; |
| 22 |
|
| 23 |
public interface ICapabilityAdvice extends IPublisherAdvice { |
| 24 |
|
| 25 |
public IProvidedCapability[] getProvidedCapabilities(InstallableUnitDescription iu); |
| 26 |
|
| 27 |
public IRequirement[] getRequiredCapabilities(InstallableUnitDescription iu); |
| 28 |
|
| 29 |
public IRequirement[] getMetaRequiredCapabilities(InstallableUnitDescription iu); |
| 30 |
} |