Package jetbrains.buildServer
Class UserDataStorageImpl
- java.lang.Object
-
- jetbrains.buildServer.UserDataStorageImpl
-
- All Implemented Interfaces:
UserDataStorage
public class UserDataStorageImpl extends Object implements UserDataStorage
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 13.12.11 21:04
-
-
Constructor Summary
Constructors Constructor Description UserDataStorageImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public <Y> Y getValue(@NotNull UserDataKey<Y> key)
- Specified by:
getValue
in interfaceUserDataStorage
- Type Parameters:
Y
- type of data- Parameters:
key
- key- Returns:
- value if found or null
-
setValue
public <Y> void setValue(@NotNull UserDataKey<Y> key, @Nullable Y value)
Description copied from interface:UserDataStorage
Sets or removes data for key.- Specified by:
setValue
in interfaceUserDataStorage
- Type Parameters:
Y
- type of data- Parameters:
key
- keyvalue
- value or null
-
-