com.atlassian.jira.license
Class MockLicenseRoleStore
java.lang.Object
com.atlassian.jira.license.MockLicenseRoleStore
- All Implemented Interfaces:
- LicenseRoleStore
public class MockLicenseRoleStore
- extends Object
- implements LicenseRoleStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockLicenseRoleStore
public MockLicenseRoleStore()
get
@Nonnull
public LicenseRoleStore.LicenseRoleData get(@Nonnull
LicenseRoleId id)
- Description copied from interface:
LicenseRoleStore
- Get the
LicenseRoleStore.LicenseRoleData
for the passed
LicenseRoleId
.
- Specified by:
get
in interface LicenseRoleStore
- Parameters:
id
- the ID to search for.
The LicenseRoleStore.LicenseRoleData
for the passed
LicenseRoleId
.
save
@Nonnull
public LicenseRoleStore.LicenseRoleData save(@Nonnull
LicenseRoleStore.LicenseRoleData data)
- Description copied from interface:
LicenseRoleStore
- Save the passed
LicenseRoleStore.LicenseRoleData
to the database.
- Specified by:
save
in interface LicenseRoleStore
- Parameters:
data
- the data to save to the database.
- Returns:
- the
LicenseRoleStore.LicenseRoleData
as saved in the database.
save
public MockLicenseRoleStore save(LicenseRoleId id,
String... groups)
Copyright © 2002-2014 Atlassian. All Rights Reserved.