Package org.eclipse.tycho.model
Class ProductConfiguration
- java.lang.Object
-
- org.eclipse.tycho.model.ProductConfiguration
-
public class ProductConfiguration extends java.lang.ObjectAs 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 classProductConfiguration.ConfigInistatic classProductConfiguration.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.StringgetApplication()ProductConfiguration.ConfigInigetConfigIni()java.util.List<ProductConfiguration.ConfigurationProperty>getConfigurationProperties()java.util.List<FeatureRef>getFeatures()java.lang.StringgetFreeBSDIcon()java.lang.StringgetId()LaunchergetLauncher()java.lang.StringgetLinuxIcon()java.lang.StringgetMacIcon()java.lang.StringgetName()java.util.Map<java.lang.String,BundleConfiguration>getPluginConfiguration()java.util.List<PluginRef>getPlugins()java.lang.StringgetProduct()java.lang.StringgetVersion()java.util.List<java.lang.String>getW32Icons()booleanincludeLaunchers()private static FeatureRefparseFeature(de.pdark.decentxml.Element featureDom)static ProductConfigurationread(java.io.File file)static ProductConfigurationread(java.io.InputStream input)voidremoveRootInstalledFeatures()voidsetVersion(java.lang.String version)booleanuseFeatures()static voidwrite(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()
-
-