public class

MockLicenseRoleDefinition

extends Object
implements LicenseRoleDefinition
java.lang.Object
   ↳ com.atlassian.jira.license.MockLicenseRoleDefinition

Summary

Public Constructors
MockLicenseRoleDefinition()
MockLicenseRoleDefinition(LicenseRoleId id, String name)
MockLicenseRoleDefinition(String id)
MockLicenseRoleDefinition(String id, String name)
Public Methods
boolean equals(Object o)
@Nonnull LicenseRoleId getLicenseRoleId()
Retrieves the id for this definition.
@Nonnull String getName()
Retrieves the name of the role.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.license.LicenseRoleDefinition

Public Constructors

public MockLicenseRoleDefinition ()

public MockLicenseRoleDefinition (LicenseRoleId id, String name)

public MockLicenseRoleDefinition (String id)

public MockLicenseRoleDefinition (String id, String name)

Public Methods

public boolean equals (Object o)

@Nonnull public LicenseRoleId getLicenseRoleId ()

Retrieves the id for this definition.

Returns
  • a license role id.

@Nonnull public String getName ()

Retrieves the name of the role.

Returns
  • the name of the role.

public int hashCode ()

public String toString ()