Package com.atlassian.jira.mock
Class MockProjectRoleManager.MockProjectRole
java.lang.Object
com.atlassian.jira.mock.MockProjectRoleManager.MockProjectRole
- All Implemented Interfaces:
ProjectRole
- Enclosing class:
- MockProjectRoleManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWill get the description of this role, null if not set.getId()
Will return the unique identifier for this project role.getName()
Will get the name of this role, null if not set.void
setDescription
(String description) void
toString()
-
Constructor Details
-
MockProjectRole
-
-
Method Details
-
getId
Description copied from interface:ProjectRole
Will return the unique identifier for this project role.- Specified by:
getId
in interfaceProjectRole
- Returns:
- Long the unique id for this proejct role.
-
getName
Description copied from interface:ProjectRole
Will get the name of this role, null if not set.- Specified by:
getName
in interfaceProjectRole
- Returns:
- name or null if not set
-
setName
-
getDescription
Description copied from interface:ProjectRole
Will get the description of this role, null if not set.- Specified by:
getDescription
in interfaceProjectRole
- Returns:
- description or null if not set
-
setDescription
-
toString
-