public class

MockLicenseRole

extends Object
implements LicenseRole
java.lang.Object
   ↳ com.atlassian.jira.bc.license.MockLicenseRole

Summary

Public Constructors
MockLicenseRole()
MockLicenseRole(MockLicenseRole copy)
Public Methods
MockLicenseRole addGroups(String... groups)
MockLicenseRole copy()
boolean equals(Object o)
@Nonnull Set<String> getGroups()
Return the set of Group Ids associated with the role.
@Nonnull LicenseRoleId getId()
Returns the canonical LicenseRoleId that uniquely identifies this LicenseRole.
@Nonnull String getName()
Return the name of the license role.
int hashCode()
MockLicenseRole setGroups(Iterable<String> groups)
MockLicenseRole setId(String id)
MockLicenseRole setName(String name)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.license.LicenseRole

Public Constructors

public MockLicenseRole ()

public MockLicenseRole (MockLicenseRole copy)

Public Methods

public MockLicenseRole addGroups (String... groups)

public MockLicenseRole copy ()

public boolean equals (Object o)

@Nonnull public Set<String> getGroups ()

Return the set of Group Ids associated with the role.

Returns
  • the groups ids associated with the role.

@Nonnull public LicenseRoleId getId ()

Returns the canonical LicenseRoleId that uniquely identifies this LicenseRole.

Returns

@Nonnull public String getName ()

Return the name of the license role. The name is i18ned for the calling user.

Returns
  • the name of the license role. The name is i18ned for the calling user.

public int hashCode ()

public MockLicenseRole setGroups (Iterable<String> groups)

public MockLicenseRole setId (String id)

public MockLicenseRole setName (String name)