public class

MockUserPropertyManager

extends Object
implements UserPropertyManager
java.lang.Object
   ↳ com.atlassian.jira.user.MockUserPropertyManager

Summary

Public Constructors
MockUserPropertyManager()
Public Methods
PropertySet createOrGetForKey(String key)
PropertySet createOrGetForUser(ApplicationUser user)
@Nonnull PropertySet getPropertySet(ApplicationUser user)
Get the property set associated with a user.
@Nonnull PropertySet getPropertySetForUserKey(String userkey)
Get the property set associated with a user.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.user.UserPropertyManager

Public Constructors

public MockUserPropertyManager ()

Public Methods

public PropertySet createOrGetForKey (String key)

public PropertySet createOrGetForUser (ApplicationUser user)

@Nonnull public PropertySet getPropertySet (ApplicationUser user)

Get the property set associated with a user.

Parameters
user the user that the property set is associated with.
Returns
  • the property set for this user

@Nonnull public PropertySet getPropertySetForUserKey (String userkey)

Get the property set associated with a user.

Parameters
userkey the key for the user that the property set is associated with.
Returns
  • property set