public interface ServiceDeskLicenseService
Modifier and Type | Method and Description |
---|---|
ServiceDeskLicense |
getLicense()
Gets the
ServiceDeskLicense for instance |
String |
getLicenseType()
Deprecated.
This method is not applicable anymore and will always return ABP
|
com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Boolean> |
hasAgentLicense(com.atlassian.jira.user.ApplicationUser user)
Checks whether the user has an agent license for instance.
|
ServiceDeskLicense getLicense()
ServiceDeskLicense
for instanceServiceDeskLicense
licenseString getLicenseType()
ABP or PreABP
If want to also check validity of license, use getLicense()
@Nonnull com.atlassian.fugue.Either<com.atlassian.pocketknife.api.commons.error.AnError,Boolean> hasAgentLicense(@Nonnull com.atlassian.jira.user.ApplicationUser user)
user
- the user who you want to checkCopyright © 2017 Atlassian. All rights reserved.