public class UpdateLicenseAction extends AbstractSetupAction implements GlobalBypassSecurityAware
BambooActionSupport.JSONStatus| Modifier and Type | Field and Description |
|---|---|
static long |
ALMOST_EXPIRED_PERIOD |
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManagerSETUP_CONTENT_BLANK, SETUP_CONTENT_DEMO, SETUP_CONTENT_IMPORT, SETUP_CUSTOM, SETUP_DB_CONN_TYPE, SETUP_DB_DATASOURCE, SETUP_DB_EMBEDDED, SETUP_DB_OTHER, SETUP_DB_STANDARD, SETUP_DB_TYPE_DATASOURCE, SETUP_DB_TYPE_EMBEDDED, SETUP_DB_TYPE_STANDARD, SETUP_QUICK| Constructor and Description |
|---|
UpdateLicenseAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
int |
getAllowedNumberOfLocalAgents() |
int |
getAllowedNumberOfPlans() |
int |
getAllowedNumberOfRemoteAgents() |
BambooLicenseManager |
getBambooLicenseManager() |
com.atlassian.extras.api.bamboo.BambooLicense |
getLicense() |
String |
getLicenseString() |
String |
getSid() |
String |
getSupportEntitlementNumber() |
Date |
getSupportPeriodEnd() |
String |
getVersion() |
String |
getVersionInfo() |
boolean |
isAcademicLicense() |
boolean |
isCommercialLicense() |
boolean |
isEvaluationLicense() |
boolean |
isOldLicenseWithNewInstall() |
boolean |
isOpenSourceLicense() |
boolean |
isSupportPeriodAlmostExpired() |
boolean |
isSupportPeriodExpired() |
void |
setBambooLicenseManager(BambooLicenseManager bambooLicenseManager) |
void |
setBuildSuspensionCheckBean(BuildSuspensionCheckBean buildSuspensionCheckBean) |
void |
setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade) |
void |
setLicenseString(String licenseString) |
void |
validate() |
getSetupPersister, getSetupTypeInstall, getSetupUtilityBean, setSetupPersister, setSetupTypeInstalladdActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLinkedDeploymentProjectCacheService, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJsonaddActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSecuredDomainObjectgetErrorMessages, getErrorspublic static final long ALMOST_EXPIRED_PERIOD
public com.atlassian.extras.api.bamboo.BambooLicense getLicense()
public String getSid()
public Date getSupportPeriodEnd()
public boolean isSupportPeriodExpired()
public boolean isSupportPeriodAlmostExpired()
public boolean isOldLicenseWithNewInstall()
public boolean isCommercialLicense()
public boolean isAcademicLicense()
public boolean isOpenSourceLicense()
public boolean isEvaluationLicense()
public int getAllowedNumberOfRemoteAgents()
public int getAllowedNumberOfLocalAgents()
public int getAllowedNumberOfPlans()
@Nullable public String getSupportEntitlementNumber()
public String getVersionInfo()
public void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportpublic String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class BambooActionSupportExceptionpublic BambooLicenseManager getBambooLicenseManager()
getBambooLicenseManager in class BambooActionSupportpublic void setBambooLicenseManager(BambooLicenseManager bambooLicenseManager)
setBambooLicenseManager in class BambooActionSupportpublic void setBuildSuspensionCheckBean(@Nullable
BuildSuspensionCheckBean buildSuspensionCheckBean)
public String getLicenseString()
public void setLicenseString(String licenseString)
public String getVersion()
public void setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.