Package com.atlassian.jira.license
Interface LicenseCheck
- All Known Subinterfaces:
BuildVersionLicenseCheck,CreateIssueLicenseCheck,LegitimacyLicenseCheck
- All Known Implementing Classes:
BuildVersionLicenseCheckImpl,CreateIssueLicenseCheckImpl,LegitimacyLicenseCheckImpl
public interface LicenseCheck
A license-related check.
- Since:
- 7.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classImplements aLicenseCheck.Resultthat alwaysfails.static classThe result of aLicenseCheck, which may be either passed or failed, depending on the return value ofLicenseCheck.Result.isPass(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LicenseCheck.ResultIndicates that a license check has failed but does not have any failinglicenses.static final LicenseCheck.ResultIndicates that a license check has failed but because nolicensesare present.static final LicenseCheck.ResultIndicates this license check has been passed. -
Method Summary
-
Field Details
-
Method Details
-
evaluate
LicenseCheck.Result evaluate()Performs this license check. -
isPass
default boolean isPass()Indicates whether this check passes, taking into account the grace period.- Returns:
- see above
- Since:
- 7.4
-