public class MockUserPropertyManager extends Object implements UserPropertyManager
Constructor and Description |
---|
MockUserPropertyManager() |
Modifier and Type | Method and Description |
---|---|
com.opensymphony.module.propertyset.PropertySet |
createOrGetForKey(String key) |
com.opensymphony.module.propertyset.PropertySet |
createOrGetForUser(ApplicationUser user) |
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(ApplicationUser user)
Get the property set associated with a user.
|
com.opensymphony.module.propertyset.PropertySet |
getPropertySetForUserKey(String userkey)
Get the property set associated with a user.
|
@Nonnull public com.opensymphony.module.propertyset.PropertySet getPropertySet(ApplicationUser user)
UserPropertyManager
getPropertySet
in interface UserPropertyManager
user
- the user that the property set is associated with.@Nonnull public com.opensymphony.module.propertyset.PropertySet getPropertySetForUserKey(String userkey)
UserPropertyManager
getPropertySetForUserKey
in interface UserPropertyManager
userkey
- the key for the user that the property set is associated with.public com.opensymphony.module.propertyset.PropertySet createOrGetForUser(ApplicationUser user)
public com.opensymphony.module.propertyset.PropertySet createOrGetForKey(String key)
Copyright © 2002-2017 Atlassian. All Rights Reserved.