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> YgetValue(UserDataKey<Y> key)<Y> voidsetValue(UserDataKey<Y> key, Y value)Sets or removes data for key.
-
-
-
Method Detail
-
getValue
public <Y> Y getValue(@NotNull UserDataKey<Y> key)- Specified by:
getValuein 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:UserDataStorageSets or removes data for key.- Specified by:
setValuein interfaceUserDataStorage- Type Parameters:
Y- type of data- Parameters:
key- keyvalue- value or null
-
-