org.gudy.azureus2.pluginsimpl.local
Class PluginManagerDefaultsImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.PluginManagerDefaultsImpl
- All Implemented Interfaces:
- PluginManagerDefaults
public class PluginManagerDefaultsImpl
- extends java.lang.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 java.util.List disabled
PluginManagerDefaultsImpl
public PluginManagerDefaultsImpl()
getSingleton
public static PluginManagerDefaults getSingleton()
getDefaultPlugins
public java.lang.String[] getDefaultPlugins()
- Specified by:
getDefaultPlugins
in interface PluginManagerDefaults
setDefaultPluginEnabled
public void setDefaultPluginEnabled(java.lang.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(java.lang.String plugin_id)
- Specified by:
isDefaultPluginEnabled
in interface PluginManagerDefaults
setApplicationName
public void setApplicationName(java.lang.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 java.lang.String getApplicationName()
- Specified by:
getApplicationName
in interface PluginManagerDefaults
setApplicationIdentifier
public void setApplicationIdentifier(java.lang.String id)
- Specified by:
setApplicationIdentifier
in interface PluginManagerDefaults
getApplicationIdentifier
public java.lang.String getApplicationIdentifier()
- Specified by:
getApplicationIdentifier
in interface PluginManagerDefaults
setApplicationEntryPoint
public void setApplicationEntryPoint(java.lang.String ep)
- Specified by:
setApplicationEntryPoint
in interface PluginManagerDefaults
getApplicationEntryPoint
public java.lang.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,
java.lang.String[] args)
- Specified by:
setSingleInstanceHandlerAndProcess
in interface PluginManagerDefaults