public class FeatureRootAdvice extends Object implements org.eclipse.equinox.p2.publisher.actions.IFeatureRootAdvice
| Constructor and Description |
|---|
FeatureRootAdvice(BuildProperties buildProperties,
File baseDir,
String artifactId) |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.equinox.p2.publisher.actions.IFeatureRootAdvice |
createRootFileAdvice(IArtifactFacade featureArtifact,
BuildPropertiesParser buildPropertiesParser) |
String[] |
getConfigurations() |
org.eclipse.equinox.internal.p2.publisher.FileSetDescriptor |
getDescriptor(String wsOsArch) |
static File |
getProjectBaseDir(IArtifactFacade featureArtifact)
Assumptions for resolving the project base directory of the given artifact:
packaging type of the artifact:"eclipse-feature"
the location of the feature artifact is absolute and points to the built feature.jar
the build output folder is located in a subfolder of the project base directory
|
org.eclipse.equinox.internal.p2.core.helpers.FileUtils.IPathComputer |
getRootFileComputer(String configSpec) |
boolean |
isApplicable(String configSpec,
boolean includeDefault,
String id,
org.eclipse.equinox.p2.metadata.Version version) |
public FeatureRootAdvice(BuildProperties buildProperties, File baseDir, String artifactId)
public static org.eclipse.equinox.p2.publisher.actions.IFeatureRootAdvice createRootFileAdvice(IArtifactFacade featureArtifact, BuildPropertiesParser buildPropertiesParser)
featureArtifact - public static File getProjectBaseDir(IArtifactFacade featureArtifact)
public boolean isApplicable(String configSpec, boolean includeDefault, String id, org.eclipse.equinox.p2.metadata.Version version)
isApplicable in interface org.eclipse.equinox.p2.publisher.IPublisherAdvicepublic String[] getConfigurations()
getConfigurations in interface org.eclipse.equinox.p2.publisher.actions.IFeatureRootAdvicepublic org.eclipse.equinox.internal.p2.core.helpers.FileUtils.IPathComputer getRootFileComputer(String configSpec)
getRootFileComputer in interface org.eclipse.equinox.p2.publisher.actions.IFeatureRootAdvicepublic org.eclipse.equinox.internal.p2.publisher.FileSetDescriptor getDescriptor(String wsOsArch)
getDescriptor in interface org.eclipse.equinox.p2.publisher.actions.IFeatureRootAdviceCopyright © 2008-2015 Eclipse Foundation. All Rights Reserved.