|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.settings.Property tvbrowser.ui.settings.BlockedPluginArrayProperty
public final class BlockedPluginArrayProperty
A array with the blocked plugins.
Constructor Summary | |
---|---|
BlockedPluginArrayProperty(PropertyManager manager,
java.lang.String key)
Creates the blocked plugins array. |
Method Summary | |
---|---|
void |
addBlockedPlugin(SoftwareUpdater updater,
java.lang.String pluginId,
Version blockStart,
Version blockEnd)
Adds a plugin to the block array. |
void |
clear(SoftwareUpdater updater)
Clears the blocked plugin array. |
protected void |
clearCache()
|
BlockedPlugin[] |
getBlockedPluginArray()
|
BlockedPlugin[] |
getNewBlockedPlugins()
Gets the plugins that were newly blocked at the last update. |
boolean |
isBlocked(PluginAccess plugin)
|
boolean |
isBlocked(java.lang.String pluginId,
Version version)
(Even if the block start version is higher than 0.0.0.0, the 0.0.0.0 version will always been acknowledged as blocked.) |
Methods inherited from class util.settings.Property |
---|
addChangeListener, fireChangeEvent, getKey, getProperty, removeChangeListener, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockedPluginArrayProperty(PropertyManager manager, java.lang.String key)
manager
- Managerkey
- Key for this PropertyMethod Detail |
---|
public BlockedPlugin[] getBlockedPluginArray()
public boolean isBlocked(PluginAccess plugin)
plugin
- The plugin to test.
True
if the plugin is blocked.public boolean isBlocked(java.lang.String pluginId, Version version)
pluginId
- The id to test.version
- The version to test.
True
if the given plugin id version combination is blocked.public void addBlockedPlugin(SoftwareUpdater updater, java.lang.String pluginId, Version blockStart, Version blockEnd)
updater
- The updater that is requesting the block.pluginId
- The plugin id that should be blocked.blockStart
- The version from which the block starts.blockEnd
- The version to which the block reaches.public void clear(SoftwareUpdater updater)
updater
- The software updater that is requesting the
clearance of the array.protected void clearCache()
clearCache
in class Property
public BlockedPlugin[] getNewBlockedPlugins()
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |