Package org.eclipse.tycho.model
Class ProductConfiguration
- java.lang.Object
-
- org.eclipse.tycho.model.ProductConfiguration
-
public class ProductConfiguration extends java.lang.Object
As of eclipse 3.5.1, file format does not seem to be documented. There are most likely multiple parser implementations. org.eclipse.equinox.internal.p2.publisher.eclipse.ProductFile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProductConfiguration.ConfigIni
static class
ProductConfiguration.ConfigurationProperty
-
Constructor Summary
Constructors Constructor Description ProductConfiguration(de.pdark.decentxml.Document document)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getApplication()
ProductConfiguration.ConfigIni
getConfigIni()
java.util.List<ProductConfiguration.ConfigurationProperty>
getConfigurationProperties()
java.util.List<FeatureRef>
getFeatures()
java.lang.String
getFreeBSDIcon()
java.lang.String
getId()
Launcher
getLauncher()
java.lang.String
getLinuxIcon()
java.lang.String
getMacIcon()
java.lang.String
getName()
java.util.Map<java.lang.String,BundleConfiguration>
getPluginConfiguration()
java.util.List<PluginRef>
getPlugins()
java.lang.String
getProduct()
java.lang.String
getVersion()
java.util.List<java.lang.String>
getW32Icons()
boolean
includeLaunchers()
private static FeatureRef
parseFeature(de.pdark.decentxml.Element featureDom)
static ProductConfiguration
read(java.io.File file)
static ProductConfiguration
read(java.io.InputStream input)
void
removeRootInstalledFeatures()
void
setVersion(java.lang.String version)
boolean
useFeatures()
static void
write(ProductConfiguration product, java.io.File file)
-
-
-
Method Detail
-
read
public static ProductConfiguration read(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
read
public static ProductConfiguration read(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public static void write(ProductConfiguration product, java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
getProduct
public java.lang.String getProduct()
-
getApplication
public java.lang.String getApplication()
-
getFeatures
public java.util.List<FeatureRef> getFeatures() throws ModelFileSyntaxException
- Throws:
ModelFileSyntaxException
-
parseFeature
private static FeatureRef parseFeature(de.pdark.decentxml.Element featureDom) throws ModelFileSyntaxException
- Throws:
ModelFileSyntaxException
-
removeRootInstalledFeatures
public void removeRootInstalledFeatures()
-
getId
public java.lang.String getId()
-
getLauncher
public Launcher getLauncher()
-
getName
public java.lang.String getName()
-
getPlugins
public java.util.List<PluginRef> getPlugins()
-
useFeatures
public boolean useFeatures()
-
includeLaunchers
public boolean includeLaunchers()
-
getVersion
public java.lang.String getVersion()
-
setVersion
public void setVersion(java.lang.String version)
-
getW32Icons
public java.util.List<java.lang.String> getW32Icons()
-
getLinuxIcon
public java.lang.String getLinuxIcon()
-
getFreeBSDIcon
public java.lang.String getFreeBSDIcon()
-
getPluginConfiguration
public java.util.Map<java.lang.String,BundleConfiguration> getPluginConfiguration()
-
getConfigurationProperties
public java.util.List<ProductConfiguration.ConfigurationProperty> getConfigurationProperties()
-
getMacIcon
public java.lang.String getMacIcon()
-
getConfigIni
public ProductConfiguration.ConfigIni getConfigIni()
-
-