Package com.atlassian.jira.license
Class BuildVersionLicenseCheckFailure
java.lang.Object
com.atlassian.jira.license.LicenseCheck.Result
com.atlassian.jira.license.LicenseCheck.Failure
com.atlassian.jira.license.BuildVersionLicenseCheckFailure
@ParametersAreNonnullByDefault
public class BuildVersionLicenseCheckFailure
extends LicenseCheck.Failure
A failure of the
BuildVersionLicenseCheck
.- Since:
- 7.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The possible types of failure. -
Constructor Summary
ConstructorsConstructorDescriptionBuildVersionLicenseCheckFailure
(List<? extends LicenseDetails> failedLicenses, String failureMessage, BuildVersionLicenseCheckFailure.FailureType failureType) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionFactory method for a failure caused by no license being present.Methods inherited from class com.atlassian.jira.license.LicenseCheck.Failure
isPass
Methods inherited from class com.atlassian.jira.license.LicenseCheck.Result
getFailedLicenses, getFailureMessage
-
Constructor Details
-
BuildVersionLicenseCheckFailure
public BuildVersionLicenseCheckFailure(List<? extends LicenseDetails> failedLicenses, String failureMessage, BuildVersionLicenseCheckFailure.FailureType failureType) Constructor.- Parameters:
failedLicenses
- the licenses with a problemfailureMessage
- the message explaining the failurefailureType
- the type of failure
-
-
Method Details
-
noLicense
Factory method for a failure caused by no license being present.- Returns:
- see above
-
getFailureType
-