public class CreateIssueLicenseCheckImpl extends Object implements CreateIssueLicenseCheck
LicenseCheck.Failure, LicenseCheck.Result
FAIL, FAIL_NO_LICENSES, PASS
Constructor and Description |
---|
CreateIssueLicenseCheckImpl(JiraLicenseManager licenseManager,
ApplicationRoleManager roleManager,
JiraAuthenticationContext authenticationContext,
JiraContactHelper jiraContactHelper,
I18nHelper i18n) |
Modifier and Type | Method and Description |
---|---|
LicenseCheck.Result |
evaluate()
Performs this license check.
|
LicenseCheck.Result |
evaluateWithUser(ApplicationUser user)
Perform this license check using the given
ApplicationUser . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isPass
public CreateIssueLicenseCheckImpl(JiraLicenseManager licenseManager, ApplicationRoleManager roleManager, JiraAuthenticationContext authenticationContext, JiraContactHelper jiraContactHelper, I18nHelper i18n)
public LicenseCheck.Result evaluate()
LicenseCheck
evaluate
in interface LicenseCheck
public LicenseCheck.Result evaluateWithUser(ApplicationUser user)
CreateIssueLicenseCheck
ApplicationUser
.evaluateWithUser
in interface CreateIssueLicenseCheck
user
- the user this license check should be performed asCopyright © 2002-2017 Atlassian. All Rights Reserved.