Package com.biglybt.pifimpl.local
Class PluginManagerDefaultsImpl
java.lang.Object
com.biglybt.pifimpl.local.PluginManagerDefaultsImpl
- All Implemented Interfaces:
PluginManagerDefaults
-
Field Summary
FieldsFields inherited from interface com.biglybt.pif.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_NET_TEST, PID_PLATFORM_CHECKER, PID_PLUGIN_UPDATE_CHECKER, PID_REMOVE_RULES, PID_RSS, PID_SHARE_HOSTER, PID_SIMPLE_API, PID_START_STOP_RULES, PID_TRACKER_PEER_AUTH, PID_UPNP, PLUGIN_IDS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
static PluginManagerDefaults
boolean
isDefaultPluginEnabled
(String plugin_id) void
void
void
setApplicationName
(String name) Set the name of the application, default isConstants.BIGLYBT_NAME
, and an identifier for it, default is "az"
default for entry point is the SWT UIvoid
setDefaultPluginEnabled
(String plugin_id, boolean enabled) by default all default plugins are enabled.void
setSingleInstanceHandler
(int single_instance_port, PluginManagerArgumentHandler handler) boolean
setSingleInstanceHandlerAndProcess
(int single_instance_port, PluginManagerArgumentHandler handler, String[] args)
-
Field Details
-
singleton
-
disabled
-
-
Constructor Details
-
PluginManagerDefaultsImpl
public PluginManagerDefaultsImpl()
-
-
Method Details
-
getSingleton
-
getDefaultPlugins
- Specified by:
getDefaultPlugins
in interfacePluginManagerDefaults
-
setDefaultPluginEnabled
Description copied from interface:PluginManagerDefaults
by default all default plugins are enabled. This methods allows them to be disabled- Specified by:
setDefaultPluginEnabled
in interfacePluginManagerDefaults
- Parameters:
plugin_id
-
-
isDefaultPluginEnabled
- Specified by:
isDefaultPluginEnabled
in interfacePluginManagerDefaults
-
setApplicationName
Description copied from interface:PluginManagerDefaults
Set the name of the application, default isConstants.BIGLYBT_NAME
, and an identifier for it, default is "az"
default for entry point is the SWT UI- Specified by:
setApplicationName
in interfacePluginManagerDefaults
- Parameters:
name
-
-
getApplicationName
- Specified by:
getApplicationName
in interfacePluginManagerDefaults
-
setApplicationIdentifier
- Specified by:
setApplicationIdentifier
in interfacePluginManagerDefaults
-
getApplicationIdentifier
- Specified by:
getApplicationIdentifier
in interfacePluginManagerDefaults
-
setApplicationEntryPoint
- Specified by:
setApplicationEntryPoint
in interfacePluginManagerDefaults
-
getApplicationEntryPoint
- Specified by:
getApplicationEntryPoint
in interfacePluginManagerDefaults
-
setSingleInstanceHandler
public void setSingleInstanceHandler(int single_instance_port, PluginManagerArgumentHandler handler) - Specified by:
setSingleInstanceHandler
in interfacePluginManagerDefaults
-
setSingleInstanceHandlerAndProcess
public boolean setSingleInstanceHandlerAndProcess(int single_instance_port, PluginManagerArgumentHandler handler, String[] args) - Specified by:
setSingleInstanceHandlerAndProcess
in interfacePluginManagerDefaults
-