@ParametersAreNonnullByDefault public class BuildVersionLicenseCheckFailure extends LicenseCheck.Failure
BuildVersionLicenseCheck
.Modifier and Type | Class and Description |
---|---|
static class |
BuildVersionLicenseCheckFailure.FailureType
The possible types of failure.
|
Constructor and Description |
---|
BuildVersionLicenseCheckFailure(List<? extends LicenseDetails> failedLicenses,
String failureMessage,
BuildVersionLicenseCheckFailure.FailureType failureType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
BuildVersionLicenseCheckFailure.FailureType |
getFailureType() |
static BuildVersionLicenseCheckFailure |
noLicense()
Factory method for a failure caused by no license being present.
|
isPass
getFailedLicenses, getFailureMessage
public BuildVersionLicenseCheckFailure(List<? extends LicenseDetails> failedLicenses, String failureMessage, BuildVersionLicenseCheckFailure.FailureType failureType)
failedLicenses
- the licenses with a problemfailureMessage
- the message explaining the failurefailureType
- the type of failure@Nonnull public static BuildVersionLicenseCheckFailure noLicense()
@Nonnull public BuildVersionLicenseCheckFailure.FailureType getFailureType()
Copyright © 2002-2019 Atlassian. All Rights Reserved.