Class ProjectRole
java.lang.Object
com.atlassian.jira.rest.client.api.domain.BasicProjectRole
com.atlassian.jira.rest.client.api.domain.ProjectRole
- All Implemented Interfaces:
AddressableEntity,IdentifiableEntity<Long>,NamedEntity
A way to group users (@see RoleActors) with projects. An example would be a global role called "testers". If you
have a project X and a project Y, you would then be able to configure different RoleActors in the "testers" role
for project X than for project Y. You can use ProjectRole objects as the target of Notification and Permission
schemes.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProjectRole(long id, URI self, String name, String description, Collection<RoleActor> actors) -
Method Summary
Methods inherited from class com.atlassian.jira.rest.client.api.domain.BasicProjectRole
getName, getSelf, toString
-
Constructor Details
-
ProjectRole
public ProjectRole(long id, URI self, String name, String description, Collection<RoleActor> actors)
-
-
Method Details
-
getDescription
- Returns:
- description of this project role.
-
getActors
- Returns:
- actors associated with this role.
-
getId
- Specified by:
getIdin interfaceIdentifiableEntity<Long>- Returns:
- the unique id for this project role.
-
equals
- Overrides:
equalsin classBasicProjectRole
-
hashCode
public int hashCode()- Overrides:
hashCodein classBasicProjectRole
-
getToStringHelper
protected com.google.common.base.MoreObjects.ToStringHelper getToStringHelper()- Overrides:
getToStringHelperin classBasicProjectRole
-