public class Database extends BaseSetupAction
Once a database type is correctly selected, this action will configure the database with the appropriate schema.
Modifier and Type | Field and Description |
---|---|
static String |
DATABASE_STEP |
SELECT_SETUP_STEP
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Constructor and Description |
---|
Database() |
getCrowdLicenseStore, getSetupPersister, isApplicationHomeOk, isAtCorrectStep, isEverythingOk, isServlet24, setSetupPersister
addActionError, addActionMessage, applyFieldError, applyFieldErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, 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, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, 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, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
public static final String DATABASE_STEP
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class BaseSetupAction
public boolean hasErrors()
hasErrors
in interface com.opensymphony.xwork2.interceptor.ValidationAware
hasErrors
in class com.opensymphony.xwork2.ActionSupport
public String update()
update
in class BaseSetupAction
public String getStepName()
getStepName
in class BaseSetupAction
public com.atlassian.config.db.DatabaseDetails getDatabaseDetails(String database)
public String getDatabaseOption()
public void setDatabaseOption(String databaseOption)
public List<com.atlassian.config.db.DatabaseList.DatabaseType> getDatabaseList()
public String getEmbeddedValue()
public String getJdbcValue()
public String getDatasourceValue()
public boolean isEmbeddedSelected()
public boolean isJdbcSelected()
public boolean isDatasourceSelected()
public com.atlassian.config.db.DatabaseList getDatabases()
public void setDatabases(com.atlassian.config.db.DatabaseList databases)
public String getJdbcDatabaseType()
public void setJdbcDatabaseType(String jdbcDatabaseType)
public String getJdbcDriverClassName()
public void setJdbcDriverClassName(String jdbcDriverClassName)
public String getJdbcUrl()
public void setJdbcUrl(String jdbcUrl)
public String getJdbcUsername()
public void setJdbcUsername(String jdbcUsername)
public String getJdbcPassword()
public void setJdbcPassword(String jdbcPassword)
public String getJdbcHibernateDialect()
public void setJdbcHibernateDialect(String jdbcHibernateDialect)
public String getDatasourceDatabaseType()
public void setDatasourceDatabaseType(String datasourceDatabaseType)
public String getDatasourceJndiName()
public void setDatasourceJndiName(String datasourceJndiName)
public String getDatasourceHibernateDialect()
public void setDatasourceHibernateDialect(String datasourceHibernateDialect)
public boolean isJdbcOverwriteData()
public void setJdbcOverwriteData(boolean jdbcOverwriteData)
public boolean isDatasourceOverwriteData()
public void setDatasourceOverwriteData(boolean datasourceOverwriteData)
public void setRequiredPluginsStartupCheck(RequiredPluginsStartupCheck requiredPluginsStartupCheck)
public void setDatabaseConfiguredListeners(DatabaseConfiguredListeners databaseConfiguredListeners)
public RequiredPluginsStartupCheck getRequiredPluginsStartupCheck()
public boolean isDatabaseContainsExistingData()
public boolean isClusteringEnabled()
public boolean isFormEnabled()
Copyright © 2020 Atlassian. All rights reserved.