Interface CommonExtendedPluginContext
-
- All Known Implementing Classes:
BaseCommonPluginResource
,ExtendedPluginContextHelper
public interface CommonExtendedPluginContext
An interface to ensure that the BaseCommonPlugin* classes all implement the same methods
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getConfigurationBool(String settingName)
Gets the configuration setting from the default plugin Configuration object or else from the plugin settingsint
getConfigurationInt(String settingName)
Gets the configuration setting from the default plugin Configuration object or else from the plugin settings<T> T
getConfigurationObject(String settingName)
Gets the given configuration setting as an ObjectString
getConfigurationString(String settingName)
Gets the configuration setting from the default plugin Configuration object or else from the plugin settings
-
-
-
Method Detail
-
getConfigurationBool
boolean getConfigurationBool(String settingName)
Gets the configuration setting from the default plugin Configuration object or else from the plugin settings- Parameters:
settingName
- The setting to retrieve- Returns:
- The setting value
-
getConfigurationInt
int getConfigurationInt(String settingName)
Gets the configuration setting from the default plugin Configuration object or else from the plugin settings- Parameters:
settingName
- The setting to retrieve- Returns:
- The setting value
-
getConfigurationObject
<T> T getConfigurationObject(String settingName)
Gets the given configuration setting as an Object- Parameters:
settingName
- The setting to retrieve as an Object- Returns:
- The object
-
getConfigurationString
String getConfigurationString(String settingName)
Gets the configuration setting from the default plugin Configuration object or else from the plugin settings- Parameters:
settingName
- The setting to retrieve- Returns:
- The setting value
-
-