Package com.atlassian.jira.license
Class CreateIssueLicenseCheckImpl
java.lang.Object
com.atlassian.jira.license.CreateIssueLicenseCheckImpl
- All Implemented Interfaces:
CreateIssueLicenseCheck
,LicenseCheck
- Since:
- 7.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.license.LicenseCheck
LicenseCheck.Failure, LicenseCheck.Result
-
Field Summary
Fields inherited from interface com.atlassian.jira.license.LicenseCheck
FAIL, FAIL_NO_LICENSES, PASS
-
Constructor Summary
ConstructorDescriptionCreateIssueLicenseCheckImpl
(JiraLicenseManager licenseManager, ApplicationRoleManager roleManager, JiraAuthenticationContext authenticationContext, JiraContactHelper jiraContactHelper, I18nHelper i18n) -
Method Summary
Modifier and TypeMethodDescriptionevaluate()
Performs this license check.Perform this license check using the givenApplicationUser
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.license.LicenseCheck
isPass
-
Constructor Details
-
CreateIssueLicenseCheckImpl
public CreateIssueLicenseCheckImpl(JiraLicenseManager licenseManager, ApplicationRoleManager roleManager, JiraAuthenticationContext authenticationContext, JiraContactHelper jiraContactHelper, I18nHelper i18n)
-
-
Method Details
-
evaluate
Description copied from interface:LicenseCheck
Performs this license check.- Specified by:
evaluate
in interfaceLicenseCheck
-
evaluateWithUser
Description copied from interface:CreateIssueLicenseCheck
Perform this license check using the givenApplicationUser
.- Specified by:
evaluateWithUser
in interfaceCreateIssueLicenseCheck
- Parameters:
user
- the user this license check should be performed as- Returns:
- the result of the check
-