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(User user)
PropertySet createOrGetForUser(ApplicationUser user)
PropertySet getPropertySet(User user)
Get the property set associated with a user.
PropertySet getPropertySet(ApplicationUser user)
Get the property set associated with a user.
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 (User user)

public PropertySet createOrGetForUser (ApplicationUser user)

public PropertySet getPropertySet (User user)

Get the property set associated with a user.

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

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

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