org.eclipse.tycho.model
Class ProductConfiguration

java.lang.Object
  extended by org.eclipse.tycho.model.ProductConfiguration

public class ProductConfiguration
extends 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
static class ProductConfiguration.ConfigIni
           
static class ProductConfiguration.ConfigurationProperty
           
 
Constructor Summary
ProductConfiguration(de.pdark.decentxml.Document document)
           
 
Method Summary
 String getApplication()
           
 ProductConfiguration.ConfigIni getConfigIni()
           
 List<ProductConfiguration.ConfigurationProperty> getConfigurationProperties()
           
 List<FeatureRef> getFeatures()
           
 String getId()
           
 Launcher getLauncher()
           
 String getLinuxIcon()
           
 String getMacIcon()
           
 String getName()
           
 Map<String,BundleConfiguration> getPluginConfiguration()
           
 List<PluginRef> getPlugins()
           
 String getProduct()
           
 String getVersion()
           
 List<String> getW32Icons()
           
 boolean includeLaunchers()
           
static ProductConfiguration read(File file)
           
static ProductConfiguration read(InputStream input)
           
 void setVersion(String version)
           
 boolean useFeatures()
           
static void write(ProductConfiguration product, File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductConfiguration

public ProductConfiguration(de.pdark.decentxml.Document document)
Method Detail

read

public static ProductConfiguration read(File file)
                                 throws IOException
Throws:
IOException

read

public static ProductConfiguration read(InputStream input)
                                 throws IOException
Throws:
IOException

write

public static void write(ProductConfiguration product,
                         File file)
                  throws IOException
Throws:
IOException

getProduct

public String getProduct()

getApplication

public String getApplication()

getFeatures

public List<FeatureRef> getFeatures()

getId

public String getId()

getLauncher

public Launcher getLauncher()

getName

public String getName()

getPlugins

public List<PluginRef> getPlugins()

useFeatures

public boolean useFeatures()

includeLaunchers

public boolean includeLaunchers()

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getW32Icons

public List<String> getW32Icons()

getLinuxIcon

public String getLinuxIcon()

getPluginConfiguration

public Map<String,BundleConfiguration> getPluginConfiguration()

getConfigurationProperties

public List<ProductConfiguration.ConfigurationProperty> getConfigurationProperties()

getMacIcon

public String getMacIcon()

getConfigIni

public ProductConfiguration.ConfigIni getConfigIni()


Copyright © 2008-2013 Eclipse Foundation. All Rights Reserved.