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, java.io.Serializable, java.lang.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 java.lang.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, crowdLicenseManager, directoryManager, initialLoad, propertyManager, tab
 
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
 java.lang.String doDefault()
           
 java.lang.String doUpdate()
           
 java.lang.String getDbInstallValue()
           
 java.lang.String getInstallOption()
           
 java.lang.String getNewInstallValue()
           
 java.lang.String getStepName()
           
 java.lang.String getXmlInstallValue()
           
 boolean isDbInstallSelected()
           
 boolean isNewInstallSelected()
           
 boolean isXmlInstallSelected()
           
 void setInstallOption(java.lang.String installOption)
           
 
Methods inherited from class com.atlassian.crowd.console.action.setup.BaseSetupAction
getSetupPersister, isApplicationHomeOk, isAtCorrectStep, isEverythingOk, isJdk15, isServlet24, setSetupPersister
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionMessage, assignDefaultApplicationPermissions, containsActionMessages, containsErrorMessages, directory, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getPrincipalName, getRemotePrincipal, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebSectionsForLocation, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, renderFreemarkerTemplate, setApplicationDirectoryPermissionDAO, setApplicationManager, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setWebInterfaceManager, updateAuthenticationStatus
 
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, 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 java.lang.String INSTALL_TYPE_STEP
See Also:
Constant Field Values
Constructor Detail

Installation

public Installation()
Method Detail

getStepName

public java.lang.String getStepName()
Specified by:
getStepName in class BaseSetupAction

doDefault

public java.lang.String doDefault()
Overrides:
doDefault in class BaseSetupAction

doUpdate

public java.lang.String doUpdate()
Overrides:
doUpdate in class BaseSetupAction

getInstallOption

public java.lang.String getInstallOption()

setInstallOption

public void setInstallOption(java.lang.String installOption)

getNewInstallValue

public java.lang.String getNewInstallValue()

getXmlInstallValue

public java.lang.String getXmlInstallValue()

getDbInstallValue

public java.lang.String getDbInstallValue()

isNewInstallSelected

public boolean isNewInstallSelected()

isDbInstallSelected

public boolean isDbInstallSelected()

isXmlInstallSelected

public boolean isXmlInstallSelected()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.