com.atlassian.jira.license
Class MockLicenseRoleDefinition

java.lang.Object
  extended by com.atlassian.jira.license.MockLicenseRoleDefinition
All Implemented Interfaces:
LicenseRoleDefinition

public class MockLicenseRoleDefinition
extends Object
implements LicenseRoleDefinition


Constructor Summary
MockLicenseRoleDefinition()
           
MockLicenseRoleDefinition(LicenseRoleId id, String name)
           
MockLicenseRoleDefinition(String id)
           
MockLicenseRoleDefinition(String id, String name)
           
 
Method Summary
 boolean equals(Object o)
           
 LicenseRoleId getLicenseRoleId()
          Retrieves the id for this definition.
 String getName()
          Retrieves the name of the role.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockLicenseRoleDefinition

public MockLicenseRoleDefinition()

MockLicenseRoleDefinition

public MockLicenseRoleDefinition(LicenseRoleId id,
                                 String name)

MockLicenseRoleDefinition

public MockLicenseRoleDefinition(String id)

MockLicenseRoleDefinition

public MockLicenseRoleDefinition(String id,
                                 String name)
Method Detail

getLicenseRoleId

@Nonnull
public LicenseRoleId getLicenseRoleId()
Description copied from interface: LicenseRoleDefinition
Retrieves the id for this definition.

Specified by:
getLicenseRoleId in interface LicenseRoleDefinition
Returns:
a license role id.

getName

@Nonnull
public String getName()
Description copied from interface: LicenseRoleDefinition
Retrieves the name of the role.

Specified by:
getName in interface LicenseRoleDefinition
Returns:
the name of the role.

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.