public class LicenseMismatch extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LicenseMismatch.AppCrossgrade |
| Constructor and Description |
|---|
LicenseMismatch(String otherApplicationName,
String otherApplicationKey,
String newLicense,
String newLicenseApplicationName,
String newLicenseApplicationKey,
boolean toDC,
String removeApplicationName,
String removeApplicationKey,
String removeApplicationLicense,
List<LicenseMismatch.AppCrossgrade> appCrossgrades,
boolean singleEvalLicense) |
| Modifier and Type | Method and Description |
|---|---|
List<LicenseMismatch.AppCrossgrade> |
getAppCrossgrades() |
String |
getNewLicense() |
String |
getNewLicenseApplicationKey() |
String |
getNewLicenseApplicationName() |
String |
getOtherApplicationKey() |
String |
getOtherApplicationName() |
String |
getRemoveApplicationKey() |
String |
getRemoveApplicationLicense() |
String |
getRemoveApplicationName() |
boolean |
isSingleEvalLicense() |
boolean |
isToDC() |
public LicenseMismatch(@Nullable String otherApplicationName, @Nullable String otherApplicationKey, String newLicense, String newLicenseApplicationName, String newLicenseApplicationKey, boolean toDC, @Nullable String removeApplicationName, @Nullable String removeApplicationKey, @Nullable String removeApplicationLicense, List<LicenseMismatch.AppCrossgrade> appCrossgrades, boolean singleEvalLicense)
otherApplicationName - human readable name of the application which also needs a license update to resolve a
conflict. May be nullotherApplicationKey - key of the application. May be nullnewLicense - the license tring the user wants to addnewLicenseApplicationName - human readable name of the application we are adding a license for. Never nullnewLicenseApplicationKey - key of the applicationtoDC - true if we are adding a DC licenseremoveApplicationName - human readable name of an application whose license we will remove as part of getting
a consistent set of licenses. At present this can only be Jira Core. May be nullremoveApplicationKey - key of the application. May be nullremoveApplicationLicense - the text of the license key we will remove. This is necessary because we cannot
remove a license by app key, only by supplying the license key. May be nullappCrossgrades - a list of the installed apps which will need new licenses. May be an empty listsingleEvalLicense - True when we are only updating a single license and it is an eval licensepublic String getNewLicense()
public String getNewLicenseApplicationName()
public String getNewLicenseApplicationKey()
public boolean isToDC()
public List<LicenseMismatch.AppCrossgrade> getAppCrossgrades()
public boolean isSingleEvalLicense()
Copyright © 2024 Atlassian. All rights reserved.