public static class

MockProjectRoleManager.MockProjectRole

extends Object
implements ProjectRole
java.lang.Object
   ↳ com.atlassian.jira.mock.MockProjectRoleManager.MockProjectRole

Summary

Public Constructors
MockProjectRole(long id, String name, String description)
Public Methods
String getDescription()
Will get the description of this role, null if not set.
Long getId()
Will return the unique identifier for this project role.
String getName()
Will get the name of this role, null if not set.
void setDescription(String description)
void setName(String name)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.security.roles.ProjectRole

Public Constructors

public MockProjectRole (long id, String name, String description)

Public Methods

public String getDescription ()

Will get the description of this role, null if not set.

Returns
  • description or null if not set

public Long getId ()

Will return the unique identifier for this project role.

Returns
  • Long the unique id for this proejct role.

public String getName ()

Will get the name of this role, null if not set.

Returns
  • name or null if not set

public void setDescription (String description)

public void setName (String name)

public String toString ()