public class

MockApplicationRoleDefinition

extends Object
implements ApplicationRoleDefinitions.ApplicationRoleDefinition
java.lang.Object
   ↳ com.atlassian.jira.application.MockApplicationRoleDefinition

Summary

Public Constructors
MockApplicationRoleDefinition(String key, String name)
MockApplicationRoleDefinition(String keyAndName)
Public Methods
ApplicationKey key()
Returns the ApplicationKey that defines the application.
String name()
The name of the ApplicationRole
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.application.ApplicationRoleDefinitions.ApplicationRoleDefinition

Public Constructors

public MockApplicationRoleDefinition (String key, String name)

public MockApplicationRoleDefinition (String keyAndName)

Public Methods

public ApplicationKey key ()

Returns the ApplicationKey that defines the application.

Returns
  • the ApplicationKey that defines the application.

public String name ()

The name of the ApplicationRole

Returns
  • the name of the ApplicationRole