Package org.eclipse.tycho.packaging
Class FeatureXmlTransformer
- java.lang.Object
-
- org.eclipse.tycho.packaging.FeatureXmlTransformer
-
@Component(role=FeatureXmlTransformer.class) public class FeatureXmlTransformer extends Object
-
-
Constructor Summary
Constructors Constructor Description FeatureXmlTransformer()FeatureXmlTransformer(org.codehaus.plexus.logging.Logger log, FileLockService fileLockService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureexpandReferences(Feature feature, TargetPlatform targetPlatform)Replaces references in the feature model with versions from the target platform.protected longgetInstallSize(File location)
-
-
-
Constructor Detail
-
FeatureXmlTransformer
public FeatureXmlTransformer()
-
FeatureXmlTransformer
public FeatureXmlTransformer(org.codehaus.plexus.logging.Logger log, FileLockService fileLockService)
-
-
Method Detail
-
expandReferences
public Feature expandReferences(Feature feature, TargetPlatform targetPlatform) throws org.apache.maven.plugin.MojoFailureException
Replaces references in the feature model with versions from the target platform.- Parameters:
feature- The feature model to have plug-in and feature references completed.- Throws:
org.apache.maven.plugin.MojoFailureException
-
getInstallSize
protected long getInstallSize(File location)
-
-