org.gudy.azureus2.plugins
Interface PluginManagerDefaults

All Known Implementing Classes:
PluginManagerDefaultsImpl

public interface PluginManagerDefaults

Author:
parg

Field Summary
static String PID_BUDDY
           
static String PID_CORE_PATCH_CHECKER
           
static String PID_CORE_UPDATE_CHECKER
           
static String PID_DEFAULT_TRACKER_WEB
           
static String PID_DHT
           
static String PID_DHT_TRACKER
           
static String PID_EXTERNAL_SEED
           
static String PID_LOCAL_TRACKER
           
static String PID_MAGNET
           
static String PID_NET_STATUS
           
static String PID_PLATFORM_CHECKER
           
static String PID_PLUGIN_UPDATE_CHECKER
           
static String PID_REMOVE_RULES
           
static String PID_RSS
           
static String PID_SHARE_HOSTER
           
static String PID_START_STOP_RULES
           
static String PID_TRACKER_PEER_AUTH
           
static String PID_UPNP
           
static String[] PLUGIN_IDS
           
 
Method Summary
 String getApplicationEntryPoint()
           
 String getApplicationIdentifier()
           
 String getApplicationName()
           
 String[] getDefaultPlugins()
           
 boolean isDefaultPluginEnabled(String plugin_id)
           
 void setApplicationEntryPoint(String entry_point)
           
 void setApplicationIdentifier(String identifier)
           
 void setApplicationName(String name)
          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
 void 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 Detail

PID_START_STOP_RULES

static final String PID_START_STOP_RULES
See Also:
Constant Field Values

PID_REMOVE_RULES

static final String PID_REMOVE_RULES
See Also:
Constant Field Values

PID_SHARE_HOSTER

static final String PID_SHARE_HOSTER
See Also:
Constant Field Values

PID_DEFAULT_TRACKER_WEB

static final String PID_DEFAULT_TRACKER_WEB
See Also:
Constant Field Values

PID_PLUGIN_UPDATE_CHECKER

static final String PID_PLUGIN_UPDATE_CHECKER
See Also:
Constant Field Values

PID_CORE_UPDATE_CHECKER

static final String PID_CORE_UPDATE_CHECKER
See Also:
Constant Field Values

PID_CORE_PATCH_CHECKER

static final String PID_CORE_PATCH_CHECKER
See Also:
Constant Field Values

PID_PLATFORM_CHECKER

static final String PID_PLATFORM_CHECKER
See Also:
Constant Field Values

PID_UPNP

static final String PID_UPNP
See Also:
Constant Field Values

PID_DHT

static final String PID_DHT
See Also:
Constant Field Values

PID_DHT_TRACKER

static final String PID_DHT_TRACKER
See Also:
Constant Field Values

PID_MAGNET

static final String PID_MAGNET
See Also:
Constant Field Values

PID_EXTERNAL_SEED

static final String PID_EXTERNAL_SEED
See Also:
Constant Field Values

PID_LOCAL_TRACKER

static final String PID_LOCAL_TRACKER
See Also:
Constant Field Values

PID_TRACKER_PEER_AUTH

static final String PID_TRACKER_PEER_AUTH
See Also:
Constant Field Values

PID_NET_STATUS

static final String PID_NET_STATUS
See Also:
Constant Field Values

PID_BUDDY

static final String PID_BUDDY
See Also:
Constant Field Values

PID_RSS

static final String PID_RSS
See Also:
Constant Field Values

PLUGIN_IDS

static final String[] PLUGIN_IDS
Method Detail

getDefaultPlugins

String[] getDefaultPlugins()

setDefaultPluginEnabled

void setDefaultPluginEnabled(String plugin_id,
                             boolean enabled)
by default all default plugins are enabled. This methods allows them to be disabled

Parameters:
plugin_id -

isDefaultPluginEnabled

boolean isDefaultPluginEnabled(String plugin_id)

setApplicationName

void setApplicationName(String name)
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

Parameters:
name -

getApplicationName

String getApplicationName()

setApplicationIdentifier

void setApplicationIdentifier(String identifier)

getApplicationIdentifier

String getApplicationIdentifier()

setApplicationEntryPoint

void setApplicationEntryPoint(String entry_point)

getApplicationEntryPoint

String getApplicationEntryPoint()

setSingleInstanceHandler

void setSingleInstanceHandler(int single_instance_port,
                              PluginManagerArgumentHandler handler)

setSingleInstanceHandlerAndProcess

boolean setSingleInstanceHandlerAndProcess(int single_instance_port,
                                           PluginManagerArgumentHandler handler,
                                           String[] args)