Class HashingLongPropertyKeysPluginSettings
java.lang.Object
com.atlassian.bamboo.oauth.shared.HashingLongPropertyKeysPluginSettings
- All Implemented Interfaces:
com.atlassian.sal.api.pluginsettings.PluginSettings
public class HashingLongPropertyKeysPluginSettings
extends Object
implements com.atlassian.sal.api.pluginsettings.PluginSettings
This implementation of PluginSettings prevents keys from getting bigger than 100 characters.
If a key exceeds this limit, it will hash the whole key and replace the last characters in the original
key with the hashed value and store this key.
This was written by Felix Schmitz for the Applinks plugin and is copied here in its entirety.
-
Constructor Summary
ConstructorsConstructorDescriptionHashingLongPropertyKeysPluginSettings
(com.atlassian.sal.api.pluginsettings.PluginSettings pluginSettings) -
Method Summary
-
Constructor Details
-
HashingLongPropertyKeysPluginSettings
public HashingLongPropertyKeysPluginSettings(com.atlassian.sal.api.pluginsettings.PluginSettings pluginSettings)
-
-
Method Details
-
get
- Specified by:
get
in interfacecom.atlassian.sal.api.pluginsettings.PluginSettings
-
put
- Specified by:
put
in interfacecom.atlassian.sal.api.pluginsettings.PluginSettings
-
remove
- Specified by:
remove
in interfacecom.atlassian.sal.api.pluginsettings.PluginSettings
-