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
ConstructorsConstructorDescriptionCreateIssueLicenseCheckImpl(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, waitMethods 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:LicenseCheckPerforms this license check.- Specified by:
evaluatein interfaceLicenseCheck
-
evaluateWithUser
Description copied from interface:CreateIssueLicenseCheckPerform this license check using the givenApplicationUser.- Specified by:
evaluateWithUserin interfaceCreateIssueLicenseCheck- Parameters:
user- the user this license check should be performed as- Returns:
- the result of the check
-