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, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
SETUP_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, setSetupTypeInstall
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, 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, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSecuredDomainObject
getAllErrorMessages
public 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.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
Exception
public BambooLicenseManager getBambooLicenseManager()
getBambooLicenseManager
in class BambooActionSupport
public void setBambooLicenseManager(BambooLicenseManager bambooLicenseManager)
setBambooLicenseManager
in class BambooActionSupport
public void setBuildSuspensionCheckBean(@Nullable BuildSuspensionCheckBean buildSuspensionCheckBean)
public String getLicenseString()
public void setLicenseString(String licenseString)
public String getVersion()
public void setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.