Package jetbrains.buildServer.users
Interface SPropertyHolder
-
- All Superinterfaces:
PropertyHolder
- All Known Subinterfaces:
UserEx
,UserGroupEx
- All Known Implementing Classes:
AllUsersGroup
,AssociatedUser
,BaseUser
,InMemoryUser
,PropertyHolderImpl
,RestrictedUserImpl
,SecuredUser
,SecuredUserGroup
,TestUser
,UserGroupImpl
,UserImpl
public interface SPropertyHolder extends PropertyHolder
- Since:
- 9.0
- Author:
- Maxim.Manuylov Date: 18.09.2014
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
deleteProperty(PropertyKey propertyKey)
Deletes a property with specified key.boolean
setProperties(Map<? extends PropertyKey,String> properties)
Updates the specified properties.boolean
setProperty(PropertyKey propertyKey, String value)
Sets a property with specified key and value.-
Methods inherited from interface jetbrains.buildServer.users.PropertyHolder
getBooleanProperty, getProperties, getPropertyValue
-
-
-
-
Method Detail
-
setProperties
boolean setProperties(@NotNull Map<? extends PropertyKey,String> properties)
Updates the specified properties. Only those properties will be updated which keys are specified in the properties map. All other properties will be left intact.- Parameters:
properties
- properties- Returns:
- true if at least one property was changed, false otherwise
-
setProperty
boolean setProperty(@NotNull PropertyKey propertyKey, String value)
Sets a property with specified key and value.- Parameters:
propertyKey
- property keyvalue
- value of the property- Returns:
- true if the property value was actually changed, false otherwise
-
deleteProperty
boolean deleteProperty(@NotNull PropertyKey propertyKey)
Deletes a property with specified key.- Parameters:
propertyKey
- property key- Returns:
- true if the property was actually deleted, false otherwise
-
-