com.atlassian.crowd.console.action.setup
Class Installation

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.setup.BaseSetupAction
              extended by com.atlassian.crowd.console.action.setup.Installation
All Implemented Interfaces:
com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, Serializable, Cloneable

public class Installation
extends BaseSetupAction

Select and set (in crowd.cfg.xml) the installation type for the setup:

  1. New Installation
  2. Upgrade from XML Backup
  3. Upgrade from existing Database
See CrowdSetupPersister for more information regarding the flow of the setup process with respect to the installation type.

See Also:
Serialized Form

Field Summary
static String INSTALL_TYPE_STEP
           
 
Fields inherited from class com.atlassian.crowd.console.action.setup.BaseSetupAction
SELECT_SETUP_STEP
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, crowdUserDetailsService, directoryManager, initialLoad, propertyManager, tab, tokenAuthenticationManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
Installation()
           
 
Method Summary
 String doDefault()
           
 String doUpdate()
           
 String getInstallOption()
           
 String getNewInstallValue()
           
 String getStepName()
           
 String getXmlInstallValue()
           
 boolean isNewInstallSelected()
           
 boolean isXmlInstallSelected()
           
 void setInstallOption(String installOption)
           
 
Methods inherited from class com.atlassian.crowd.console.action.setup.BaseSetupAction
getSetupPersister, isApplicationHomeOk, isAtCorrectStep, isEverythingOk, isJdk15, isJdk16, isServlet24, setSetupPersister
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getText, getText, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, hasAdminRole, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, isSubscription, isWithinGracePeriod, renderFreemarkerTemplate, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setCrowdApplication, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTALL_TYPE_STEP

public static final String INSTALL_TYPE_STEP
See Also:
Constant Field Values
Constructor Detail

Installation

public Installation()
Method Detail

getStepName

public String getStepName()
Specified by:
getStepName in class BaseSetupAction

doDefault

public String doDefault()
Overrides:
doDefault in class BaseSetupAction

doUpdate

public String doUpdate()
Overrides:
doUpdate in class BaseSetupAction

getInstallOption

public String getInstallOption()

setInstallOption

public void setInstallOption(String installOption)

getNewInstallValue

public String getNewInstallValue()

getXmlInstallValue

public String getXmlInstallValue()

isNewInstallSelected

public boolean isNewInstallSelected()

isXmlInstallSelected

public boolean isXmlInstallSelected()


Copyright © 2013 Atlassian. All Rights Reserved.