Class PluginManagerDefaultsImpl
java.lang.Object
com.biglybt.pifimpl.local.PluginManagerDefaultsImpl
- All Implemented Interfaces:
PluginManagerDefaults
-
Field Summary
FieldsFields inherited from interface 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 PluginManagerDefaultsbooleanisDefaultPluginEnabled(String plugin_id) voidvoidvoidsetApplicationName(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 UIvoidsetDefaultPluginEnabled(String plugin_id, boolean enabled) by default all default plugins are enabled.voidsetSingleInstanceHandler(int single_instance_port, PluginManagerArgumentHandler handler) booleansetSingleInstanceHandlerAndProcess(int single_instance_port, PluginManagerArgumentHandler handler, String[] args)
-
Field Details
-
singleton
-
disabled
-
-
Constructor Details
-
PluginManagerDefaultsImpl
public PluginManagerDefaultsImpl()
-
-
Method Details
-
getSingleton
-
getDefaultPlugins
- Specified by:
getDefaultPluginsin interfacePluginManagerDefaults
-
setDefaultPluginEnabled
Description copied from interface:PluginManagerDefaultsby default all default plugins are enabled. This methods allows them to be disabled- Specified by:
setDefaultPluginEnabledin interfacePluginManagerDefaults- Parameters:
plugin_id-
-
isDefaultPluginEnabled
- Specified by:
isDefaultPluginEnabledin interfacePluginManagerDefaults
-
setApplicationName
Description copied from interface:PluginManagerDefaultsSet 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:
setApplicationNamein interfacePluginManagerDefaults- Parameters:
name-
-
getApplicationName
- Specified by:
getApplicationNamein interfacePluginManagerDefaults
-
setApplicationIdentifier
- Specified by:
setApplicationIdentifierin interfacePluginManagerDefaults
-
getApplicationIdentifier
- Specified by:
getApplicationIdentifierin interfacePluginManagerDefaults
-
setApplicationEntryPoint
- Specified by:
setApplicationEntryPointin interfacePluginManagerDefaults
-
getApplicationEntryPoint
- Specified by:
getApplicationEntryPointin interfacePluginManagerDefaults
-
setSingleInstanceHandler
public void setSingleInstanceHandler(int single_instance_port, PluginManagerArgumentHandler handler) - Specified by:
setSingleInstanceHandlerin interfacePluginManagerDefaults
-
setSingleInstanceHandlerAndProcess
public boolean setSingleInstanceHandlerAndProcess(int single_instance_port, PluginManagerArgumentHandler handler, String[] args) - Specified by:
setSingleInstanceHandlerAndProcessin interfacePluginManagerDefaults
-