public interface

LicenseCheck

com.atlassian.jira.license.LicenseCheck
Known Indirect Subclasses

Class Overview

Root interface of classes that perform license-related checks.

Summary

Nested Classes
class LicenseCheck.Failure Implements a LicenseCheck.Result that always fails
class LicenseCheck.Result Encapsulates the result of a LicenseCheck, which may be either passed or failed, depending on the return value of isPass()
Fields
public static final LicenseCheck.Result FAIL Indicates that a license check has failed but does not have any failing licenses.
public static final LicenseCheck.Result FAIL_NO_LICENSES Indicates that a license check has failed but because no licenses are present.
public static final LicenseCheck.Result PASS Indicates this license check has been passed.
Public Methods
LicenseCheck.Result evaluate()
Performs this license check.

Fields

public static final LicenseCheck.Result FAIL

Indicates that a license check has failed but does not have any failing licenses.

public static final LicenseCheck.Result FAIL_NO_LICENSES

Indicates that a license check has failed but because no licenses are present.

public static final LicenseCheck.Result PASS

Indicates this license check has been passed.

Public Methods

public LicenseCheck.Result evaluate ()

Performs this license check.