org.gudy.azureus2.plugins.utils
Interface FeatureManager

All Known Implementing Classes:
UtilitiesImpl

public interface FeatureManager


Nested Class Summary
static interface FeatureManager.FeatureDetails
           
static interface FeatureManager.FeatureEnabler
           
static interface FeatureManager.FeatureManagerListener
           
static interface FeatureManager.Licence
           
 
Method Summary
 FeatureManager.Licence addLicence(String licence_key)
           
 void addListener(FeatureManager.FeatureManagerListener listener)
           
 FeatureManager.Licence[] createLicences(String[] feature_ids)
           
 FeatureManager.FeatureDetails[] getFeatureDetails(String feature_id)
           
 FeatureManager.Licence[] getLicences()
           
 boolean isFeatureInstalled(String feature_id)
           
 void refreshLicences()
           
 void registerFeatureEnabler(FeatureManager.FeatureEnabler enabler)
           
 void removeListener(FeatureManager.FeatureManagerListener listener)
           
 void unregisterFeatureEnabler(FeatureManager.FeatureEnabler enabler)
           
 

Method Detail

getLicences

FeatureManager.Licence[] getLicences()

createLicences

FeatureManager.Licence[] createLicences(String[] feature_ids)
                                        throws PluginException
Throws:
PluginException

addLicence

FeatureManager.Licence addLicence(String licence_key)
                                  throws PluginException
Throws:
PluginException

getFeatureDetails

FeatureManager.FeatureDetails[] getFeatureDetails(String feature_id)

isFeatureInstalled

boolean isFeatureInstalled(String feature_id)

refreshLicences

void refreshLicences()

registerFeatureEnabler

void registerFeatureEnabler(FeatureManager.FeatureEnabler enabler)

unregisterFeatureEnabler

void unregisterFeatureEnabler(FeatureManager.FeatureEnabler enabler)

addListener

void addListener(FeatureManager.FeatureManagerListener listener)

removeListener

void removeListener(FeatureManager.FeatureManagerListener listener)