Package jetbrains.buildServer
Interface UserDataStorage
-
- All Known Implementing Classes:
UserDataStorageImpl
public interface UserDataStorage
- Since:
- 7.0
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 13.12.11 20:58
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <Y> Y
getValue(UserDataKey<Y> key)
<Y> void
setValue(UserDataKey<Y> key, Y value)
Sets or removes data for key.
-
-
-
Method Detail
-
getValue
@Nullable <Y> Y getValue(@NotNull UserDataKey<Y> key)
- Type Parameters:
Y
- type of data- Parameters:
key
- key- Returns:
- value if found or null
- Since:
- 7.0
-
setValue
<Y> void setValue(@NotNull UserDataKey<Y> key, @Nullable Y value)
Sets or removes data for key.- Type Parameters:
Y
- type of data- Parameters:
key
- keyvalue
- value or null- Since:
- 7.0
-
-