public class LicenseResource extends Object
Constructor and Description |
---|
LicenseResource(LicenseWebFacade licenseWebFacade,
ClusterManager clusterManager,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
LicenseService licenseService,
UserChecker userChecker) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getDetails()
Return some of the parameters of this license.
|
javax.ws.rs.core.Response |
getMaxUsers()
Return the number of users that is allowed by the current license
|
javax.ws.rs.core.Response |
getOrganisation()
Return the organisation name of this Confluence
|
javax.ws.rs.core.Response |
getRemainingUserCount()
Return the number of free slots on this Confluence instance
|
javax.ws.rs.core.Response |
getUserCount()
Return the number of users that have access to this Confluence
|
javax.ws.rs.core.Response |
validate(String licenseKey) |
public LicenseResource(@Qualifier(value="licenseWebFacade") LicenseWebFacade licenseWebFacade, ClusterManager clusterManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, LicenseService licenseService, UserChecker userChecker)
public javax.ws.rs.core.Response getDetails()
public javax.ws.rs.core.Response getOrganisation()
public javax.ws.rs.core.Response getUserCount()
public javax.ws.rs.core.Response getRemainingUserCount()
public javax.ws.rs.core.Response getMaxUsers()
public javax.ws.rs.core.Response validate(String licenseKey)
Copyright © 2003–2020 Atlassian. All rights reserved.