org.gudy.azureus2.pluginsimpl.local
Class PluginManagerDefaultsImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.PluginManagerDefaultsImpl
- All Implemented Interfaces:
- PluginManagerDefaults
public class PluginManagerDefaultsImpl
- extends Object
- implements PluginManagerDefaults
Fields inherited from interface org.gudy.azureus2.plugins.PluginManagerDefaults |
PID_BUDDY, PID_CORE_PATCH_CHECKER, PID_CORE_UPDATE_CHECKER, PID_DEFAULT_TRACKER_WEB, PID_DHT, PID_DHT_TRACKER, PID_EXTERNAL_SEED, PID_LOCAL_TRACKER, PID_MAGNET, PID_NET_STATUS, PID_PLATFORM_CHECKER, PID_PLUGIN_UPDATE_CHECKER, PID_REMOVE_RULES, PID_RSS, PID_SHARE_HOSTER, PID_START_STOP_RULES, PID_TRACKER_PEER_AUTH, PID_UPNP, PLUGIN_IDS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
singleton
protected static PluginManagerDefaultsImpl singleton
disabled
protected List disabled
PluginManagerDefaultsImpl
public PluginManagerDefaultsImpl()
getSingleton
public static PluginManagerDefaults getSingleton()
getDefaultPlugins
public String[] getDefaultPlugins()
- Specified by:
getDefaultPlugins
in interface PluginManagerDefaults
setDefaultPluginEnabled
public void setDefaultPluginEnabled(String plugin_id,
boolean enabled)
- Description copied from interface:
PluginManagerDefaults
- by default all default plugins are enabled. This methods allows them to be disabled
- Specified by:
setDefaultPluginEnabled
in interface PluginManagerDefaults
isDefaultPluginEnabled
public boolean isDefaultPluginEnabled(String plugin_id)
- Specified by:
isDefaultPluginEnabled
in interface PluginManagerDefaults
setApplicationName
public void setApplicationName(String name)
- Description copied from interface:
PluginManagerDefaults
- Set the name of the application, default is "Azureus", and an identifier for it, default is "az"
default for entry point is the SWT UI
- Specified by:
setApplicationName
in interface PluginManagerDefaults
getApplicationName
public String getApplicationName()
- Specified by:
getApplicationName
in interface PluginManagerDefaults
setApplicationIdentifier
public void setApplicationIdentifier(String id)
- Specified by:
setApplicationIdentifier
in interface PluginManagerDefaults
getApplicationIdentifier
public String getApplicationIdentifier()
- Specified by:
getApplicationIdentifier
in interface PluginManagerDefaults
setApplicationEntryPoint
public void setApplicationEntryPoint(String ep)
- Specified by:
setApplicationEntryPoint
in interface PluginManagerDefaults
getApplicationEntryPoint
public String getApplicationEntryPoint()
- Specified by:
getApplicationEntryPoint
in interface PluginManagerDefaults
setSingleInstanceHandler
public void setSingleInstanceHandler(int single_instance_port,
PluginManagerArgumentHandler handler)
- Specified by:
setSingleInstanceHandler
in interface PluginManagerDefaults
setSingleInstanceHandlerAndProcess
public boolean setSingleInstanceHandlerAndProcess(int single_instance_port,
PluginManagerArgumentHandler handler,
String[] args)
- Specified by:
setSingleInstanceHandlerAndProcess
in interface PluginManagerDefaults