com.atlassian.jira.license
Class ImmutableLicenseRole
java.lang.Object
com.atlassian.jira.license.ImmutableLicenseRole
- All Implemented Interfaces:
- LicenseRole
public final class ImmutableLicenseRole
- extends Object
- implements LicenseRole
ImmutableLicenseRole
public ImmutableLicenseRole(LicenseRoleDefinition def,
Iterable<String> groups)
getId
@Nonnull
public LicenseRoleId getId()
- Description copied from interface:
LicenseRole
- Returns the canonical
LicenseRoleId
that uniquely identifies this LicenseRole
.
- Specified by:
getId
in interface LicenseRole
- Returns:
- the canonical
LicenseRoleId
that uniquely identifies this LicenseRole
.
getName
@Nonnull
public String getName()
- Description copied from interface:
LicenseRole
- Return the name of the license role. The name is i18ned for the calling user.
- Specified by:
getName
in interface LicenseRole
- Returns:
- the name of the license role. The name is i18ned for the calling user.
getGroups
@Nonnull
public Set<String> getGroups()
- Description copied from interface:
LicenseRole
- Return the set of Group Ids associated with the role.
- Specified by:
getGroups
in interface LicenseRole
- Returns:
- the groups ids associated with the role.
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2014 Atlassian. All Rights Reserved.