public static class LicenseCheck.Result extends Object
LicenseCheck
, which may be either passed or failed, depending on the
return value of isPass()
.Constructor and Description |
---|
Result(Iterable<? extends LicenseDetails> failedLicenses,
String failureMessage) |
Modifier and Type | Method and Description |
---|---|
List<LicenseDetails> |
getFailedLicenses()
|
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. |
public Result(Iterable<? extends LicenseDetails> failedLicenses, String failureMessage)
public List<LicenseDetails> getFailedLicenses()
public String getFailureMessage()
LicenseCheck
failed, or the empty string if it passed.public boolean isPass()
LicenseCheck
was passed.Copyright © 2002-2022 Atlassian. All Rights Reserved.