public class

ConfirmNewInstallationWithOldLicense

extends JiraWebActionSupport
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.admin.ConfirmNewInstallationWithOldLicense

Class Overview

Displays the page to update the current JIRA license when it has been detected that the current license is "too old".

Security: This action is only accessible when a Johnson Event of type LICENSE_TOO_OLD is present in the JohnsonEventContainer

Trigger: The link to display this action is displayed in the Johnson errors page (errors.jsp)

See Also

Summary

Constants
String RADIO_OPTION_EVALUATION
String RADIO_OPTION_LICENSE
[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
ConfirmNewInstallationWithOldLicense(JiraLicenseUpdaterService jiraLicenseService, BuildUtilsInfo buildUtilsInfo, JiraSystemRestarter jiraSystemRestarter, CrowdService crowdService, PermissionManager permissionManager, JiraProperties jiraSystemProperties, ClusterManager clusterManager)
Public Methods
String doDefault()
BuildUtilsInfo getBuildUtilsInfo()
String getCurrentBuildDate()
Map<StringObject> getDataMap()
Map<StringObject> getDataMapSuccess()
String getLicense()
LicenseDetails getLicenseDetails()
Map<StringString> getLicenseStatusMessages()
boolean getLoginInvalid()
String getPassword()
String getRadioOption()
boolean getRadioOptionInvalid()
boolean getUserInfoAvailable()
During upgrades from 4.2 or earlier to 4.3 or later the user information is not available until after the upgrade has run.
String getUserName()
void setLicense(String licenseString)
void setLoginInvalid(boolean loginInvalid)
void setPassword(String password)
void setRadioOption(String radioOption)
void setRadioOptionInvalid(boolean radioOptionInvalid)
void setUserName(String userName)
Protected Methods
String doExecute()
void doValidation()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware

Constants

public static final String RADIO_OPTION_EVALUATION

Constant Value: "evaluation"

public static final String RADIO_OPTION_LICENSE

Constant Value: "license"

Public Constructors

public ConfirmNewInstallationWithOldLicense (JiraLicenseUpdaterService jiraLicenseService, BuildUtilsInfo buildUtilsInfo, JiraSystemRestarter jiraSystemRestarter, CrowdService crowdService, PermissionManager permissionManager, JiraProperties jiraSystemProperties, ClusterManager clusterManager)

Public Methods

public String doDefault ()

Throws
Exception

public BuildUtilsInfo getBuildUtilsInfo ()

public String getCurrentBuildDate ()

public Map<StringObject> getDataMap ()

public Map<StringObject> getDataMapSuccess ()

public String getLicense ()

public LicenseDetails getLicenseDetails ()

public Map<StringString> getLicenseStatusMessages ()

public boolean getLoginInvalid ()

public String getPassword ()

public String getRadioOption ()

public boolean getRadioOptionInvalid ()

public boolean getUserInfoAvailable ()

During upgrades from 4.2 or earlier to 4.3 or later the user information is not available until after the upgrade has run.

Returns
  • True if user information is available and we can authenticate users.

public String getUserName ()

public void setLicense (String licenseString)

public void setLoginInvalid (boolean loginInvalid)

public void setPassword (String password)

public void setRadioOption (String radioOption)

public void setRadioOptionInvalid (boolean radioOptionInvalid)

public void setUserName (String userName)

Protected Methods

protected String doExecute ()

Throws
Exception

protected void doValidation ()