|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PluginSettings
Provides access to settings globally or per project/space/repository/build-plan
The following types are supported:List and Map types must contain only String.
Implementations are only required to support keys up to 100 characters long. Some may support up to 255
characters, but keys should be kept as short as possible.
Instances are assumed to be not threadsafe and mutable.
| Method Summary | |
|---|---|
Object |
get(String key)
Gets a setting value. |
Object |
put(String key,
Object value)
Puts a setting value. |
Object |
remove(String key)
Removes a setting value |
| Method Detail |
|---|
Object get(String key)
key - The setting key. Cannot be null
IllegalArgumentException - if the key is null or longer than 100 characters
Object put(String key,
Object value)
key - Setting key. Cannot be nullvalue - Setting value. Must be one of String, List, Properties, Map, or null.
null will remove the item from the settings.
IllegalArgumentException - if value is not String, List, Properties, Map,
or null, or if the key is null or longer than 100 charactersObject remove(String key)
key - The setting key
IllegalArgumentException - if the key is null or longer than 100 characters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||