public static class

LicenseCheck.Result

extends Object
java.lang.Object
   ↳ com.atlassian.jira.license.LicenseCheck.Result
Known Direct Subclasses

Class Overview

Encapsulates the result of a LicenseCheck, which may be either passed or failed, depending on the return value of isPass().

Summary

Public Constructors
Result(Iterable<? extends LicenseDetails> failedLicenses, String reason)
Public Methods
List<LicenseDetails> getFailedLicenses()
Returns a List of licenses that failed this LicenseCheck.
String getFailureMessage()
Returns the reason why this LicenseCheck failed, or the empty string if it passed.
boolean isPass()
Returns true if this LicenseCheck was passed.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Result (Iterable<? extends LicenseDetails> failedLicenses, String reason)

Public Methods

public List<LicenseDetails> getFailedLicenses ()

Returns a List of licenses that failed this LicenseCheck.

public String getFailureMessage ()

Returns the reason why this LicenseCheck failed, or the empty string if it passed.

public boolean isPass ()

Returns true if this LicenseCheck was passed.