public class MockLicenseRoleDefinition extends Object implements LicenseRoleDefinition
Constructor and Description |
---|
MockLicenseRoleDefinition() |
MockLicenseRoleDefinition(LicenseRoleId id,
String name) |
MockLicenseRoleDefinition(String id) |
MockLicenseRoleDefinition(String id,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
LicenseRoleId |
getLicenseRoleId()
Retrieves the id for this definition.
|
String |
getName()
Retrieves the name of the role.
|
int |
hashCode() |
String |
toString() |
public MockLicenseRoleDefinition()
public MockLicenseRoleDefinition(LicenseRoleId id, String name)
public MockLicenseRoleDefinition(String id)
@Nonnull public LicenseRoleId getLicenseRoleId()
LicenseRoleDefinition
getLicenseRoleId
in interface LicenseRoleDefinition
@Nonnull public String getName()
LicenseRoleDefinition
getName
in interface LicenseRoleDefinition
Copyright © 2002-2015 Atlassian. All Rights Reserved.