public class UpdateLicensing extends BaseAction
Modifier and Type | Field and Description |
---|---|
protected long |
currentResources |
protected com.atlassian.extras.api.crowd.CrowdLicense |
license |
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Constructor and Description |
---|
UpdateLicensing() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
long |
getCurrentResources() |
String |
getKey() |
com.atlassian.extras.api.crowd.CrowdLicense |
getLicense() |
Date |
getLicenseExpiryDate() |
String |
getServerId() |
boolean |
isClusteringEnabled() |
boolean |
isDataCenterLicense() |
protected void |
processLicense() |
String |
recalculateUserLimit() |
void |
setApplicationConfig(CrowdApplicationConfig applicationConfig) |
void |
setClusterService(ClusterService clusterService) |
void |
setCurrentResources(long currentResources) |
void |
setKey(String key) |
void |
setLicense(com.atlassian.extras.api.crowd.CrowdLicense license) |
void |
setPropertyManager(PropertyManager propertyManager) |
void |
setSystemInfoHelper(SystemInfoHelper systemInfoHelper) |
String |
update() |
addActionError, addActionMessage, applyFieldError, applyFieldErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
protected com.atlassian.extras.api.crowd.CrowdLicense license
protected long currentResources
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class BaseAction
public String update()
public String recalculateUserLimit()
protected void processLicense()
public String getKey()
public void setKey(String key)
public long getCurrentResources()
public void setCurrentResources(long currentResources)
public com.atlassian.extras.api.crowd.CrowdLicense getLicense()
getLicense
in class BaseAction
public Date getLicenseExpiryDate()
public void setLicense(com.atlassian.extras.api.crowd.CrowdLicense license)
public String getServerId()
public void setSystemInfoHelper(SystemInfoHelper systemInfoHelper)
public void setPropertyManager(PropertyManager propertyManager)
setPropertyManager
in class BaseAction
public void setClusterService(ClusterService clusterService)
setClusterService
in class BaseAction
public boolean isDataCenterLicense()
public boolean isClusteringEnabled()
public void setApplicationConfig(CrowdApplicationConfig applicationConfig)
Copyright © 2020 Atlassian. All rights reserved.