This class provides a way for a plugin to get and set configuration settings - both for the plugin itself and for core settings as well.
This class interface contains four different variations of get and set parameter methods:
- gettypeParameter
- getCoretypeParameter
- getUnsafetypeParameter
- getPlugintypeParameter
The first set of methods are deprecated and should not be used in general - this is because the method names were ambiguous and it wasn't always obvious what data you were trying to get or set.
The second set of methods do what the first set of methods were primarily intended for - you can use these methods to get or set some core parameters. You should use the parameter names defined as constants in this interface (the ones labelled CORE_PARAM). These parameters will be properly supported by Azureus, even if the way these values are stored or handled differently in the Azureus core itself.
Attempting to set or get parameters not mentioned here should raise an error (in some cases in the past, this wasn't always enforced by the first set of methods.
The third set of methods allow you to modify configuration settings which are stored directly inside Azureus. These settings may change (without warning) between versions, so there is no guarantee that plugins that use these values will behave properly in different versions of Azureus.
The last set of methods are used to store and retrieve data intended exclusively for the use of the plugin itself, which is what you will be using most of the time.