public final class

ImmutableLicenseRole

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

Summary

Public Constructors
ImmutableLicenseRole(LicenseRoleDefinition def, Iterable<String> groups)
Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.license.LicenseRole

Public Constructors

public ImmutableLicenseRole (LicenseRoleDefinition def, Iterable<String> groups)

Public Methods

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 ()