com.atlassian.bamboo.ww2.actions.admin.migration
Class Import
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.GlobalAdminAction
com.atlassian.bamboo.ww2.actions.admin.migration.AbstractMigrationAction
com.atlassian.bamboo.ww2.actions.admin.migration.Import
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, 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 Import
- extends AbstractMigrationAction
- See Also:
- Serialized Form
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProjectManager, setReturnUrl, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Import
public Import()
doDefault
public java.lang.String doDefault()
throws java.lang.Exception
- Description copied from class:
BambooActionSupport
- Default action just sends to the input
- Overrides:
doDefault
in class BambooActionSupport
- Throws:
java.lang.Exception
doConfirm
public java.lang.String doConfirm()
throws java.lang.Exception
- Throws:
java.lang.Exception
validate
public void validate()
- Specified by:
validate
in interface com.opensymphony.xwork.Validateable
- Overrides:
validate
in class com.opensymphony.xwork.ActionSupport
execute
public java.lang.String execute()
throws java.lang.Exception
- Specified by:
execute
in interface com.opensymphony.xwork.Action
- Overrides:
execute
in class BambooActionSupport
- Throws:
java.lang.Exception
getDefaultMigrationLocation
public java.lang.String getDefaultMigrationLocation()
- Specified by:
getDefaultMigrationLocation
in class AbstractMigrationAction
getDefaultBackpuFileName
public java.lang.String getDefaultBackpuFileName()
getDefaultExportPath
public java.lang.String getDefaultExportPath()
getPath
public java.lang.String getPath()
setPath
public void setPath(java.lang.String path)
getBackupFileName
public java.lang.String getBackupFileName()
setBackupFileName
public void setBackupFileName(java.lang.String backupFileName)
isBackupSelected
public boolean isBackupSelected()
setBackupSelected
public void setBackupSelected(boolean backupSelected)
getBackupPath
public java.lang.String getBackupPath()
setBackupPath
public void setBackupPath(java.lang.String backupPath)
getBackupCanonicalPath
@NotNull
public java.lang.String getBackupCanonicalPath()
isHotSwapSelected
public boolean isHotSwapSelected()
setHotSwapSelected
public void setHotSwapSelected(boolean hotSwapSelected)
isClearArtifacts
public boolean isClearArtifacts()
setClearArtifacts
public void setClearArtifacts(boolean clearArtifacts)
getAdminErrorHandler
public AdminErrorHandler getAdminErrorHandler()
setAdminErrorHandler
public void setAdminErrorHandler(AdminErrorHandler adminErrorHandler)
getAdministrationConfiguration
public AdministrationConfiguration getAdministrationConfiguration()
- Description copied from class:
BambooActionSupport
- Makes the current Admin configuration available to an action
- Overrides:
getAdministrationConfiguration
in class BambooActionSupport
- Returns:
- The admin settings
getImportExportManager
public ImportExportManager getImportExportManager()
setImportExportManager
public void setImportExportManager(ImportExportManager importExportManager)
getBootstrapManager
public BootstrapManager getBootstrapManager()
- Overrides:
getBootstrapManager
in class BambooActionSupport
setBootstrapManager
public void setBootstrapManager(BootstrapManager bootstrapManager)
setTextProvider
public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
setBuildResultsIndexer
public void setBuildResultsIndexer(BuildResultsIndexer buildResultsIndexer)
setSvnClientManagerFactory
public void setSvnClientManagerFactory(SVNClientManagerFactory svnClientManagerFactory)
setUserConfigurationService
public void setUserConfigurationService(UserConfigurationService userConfigurationService)
Copyright © 2011 Atlassian. All Rights Reserved.