| 1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2009, 2010 IBM Corporation 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 |
* IBM Corporation - initial API and implementation |
| 13 |
*******************************************************************************/ |
| 14 |
package org.eclipse.equinox.p2.publisher.actions; |
| 15 |
|
| 16 |
import org.eclipse.equinox.internal.p2.core.helpers.FileUtils.IPathComputer; |
| 17 |
import org.eclipse.equinox.internal.p2.publisher.FileSetDescriptor; |
| 18 |
import org.eclipse.equinox.p2.publisher.IPublisherAdvice; |
| 19 |
|
| 20 |
public interface IFeatureRootAdvice extends IPublisherAdvice { |
| 21 |
|
| 22 |
/** |
| 23 |
* Return an array of configSpecs for which this advice is applicable. |
| 24 |
* @see IPublisherAdvice#isApplicable(String, boolean, String, org.eclipse.equinox.p2.metadata.Version) |
| 25 |
* @return String [] : Array of configSpec ("ws,os,arch") |
| 26 |
*/ |
| 27 |
public String[] getConfigurations(); |
| 28 |
|
| 29 |
public IPathComputer getRootFileComputer(String configSpec); |
| 30 |
|
| 31 |
public FileSetDescriptor getDescriptor(String configSpec); |
| 32 |
} |