Class UpdateLicensing

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.options.UpdateLicensing
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class UpdateLicensing extends BaseAction
See Also:
  • Field Details

    • license

      protected com.atlassian.extras.api.crowd.CrowdLicense license
    • currentResources

      protected long currentResources
  • Constructor Details

    • UpdateLicensing

      public UpdateLicensing()
  • Method Details

    • execute

      public String execute()
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class BaseAction
    • update

      public String update()
    • recalculateUserLimit

      public String recalculateUserLimit()
    • processLicense

      protected void processLicense()
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getCurrentResources

      public long getCurrentResources()
    • setCurrentResources

      public void setCurrentResources(long currentResources)
    • getLicense

      public com.atlassian.extras.api.crowd.CrowdLicense getLicense()
      Overrides:
      getLicense in class BaseAction
    • getLicenseExpiryDate

      public Date getLicenseExpiryDate()
    • setLicense

      public void setLicense(com.atlassian.extras.api.crowd.CrowdLicense license)
    • getServerId

      public String getServerId()
    • setSystemInfoHelper

      public void setSystemInfoHelper(SystemInfoHelper systemInfoHelper)
    • setClusterService

      public void setClusterService(ClusterService clusterService)
      Overrides:
      setClusterService in class BaseAction
    • isClusteringEnabled

      public boolean isClusteringEnabled()