public interface IsDefaultPlugins
Modifier and Type | Method and Description |
---|---|
<T extends AbstractPluginOptions> |
getOptions(String pluginId,
AbstractPluginOptionsFactory<T> factory)
Returns the plugin options, if exist.
|
boolean |
hasOptions(String pluginId)
Checks if there is any options for a specific plugin, by its id.
|
boolean |
isEnabled(String pluginId)
Returns if a global plugin is enabled or not.
|
boolean isEnabled(String pluginId)
pluginId
- plugin id.false
if a global plugin is not enabled otherwise true
.boolean hasOptions(String pluginId)
pluginId
- plugin id.true
if there is an options, otherwise false
.<T extends AbstractPluginOptions> T getOptions(String pluginId, AbstractPluginOptionsFactory<T> factory)
null
is returned.T
- type of native object container to returnpluginId
- plugin id.factory
- factory instance to create a native object container.null
is returned.