|
||||||||||
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
.
Instances are assumed to be not threadsafe and mutable.
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String key)
Gets a setting value. |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Puts a setting value. |
java.lang.Object |
remove(java.lang.String key)
Removes a setting value |
Method Detail |
---|
java.lang.Object get(java.lang.String key)
key
- The setting key. Cannot be null
java.lang.Object put(java.lang.String key, java.lang.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.
java.lang.IllegalArgumentException
- if value is not String
, List
, Properties
, Map
, or null.java.lang.Object remove(java.lang.String key)
key
- The setting key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |