com.atlassian.bamboo.ww2.actions.admin.migration
Class Import

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.GlobalAdminAction
              extended by com.atlassian.bamboo.ww2.actions.admin.migration.AbstractMigrationAction
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, bambooUserManager, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
Import()
           
 
Method Summary
 java.lang.String doConfirm()
           
 java.lang.String doDefault()
          Default action just sends to the input
 java.lang.String execute()
           
 AdminErrorHandler getAdminErrorHandler()
           
 AdministrationConfiguration getAdministrationConfiguration()
          Makes the current Admin configuration available to an action
 java.lang.String getBackupCanonicalPath()
           
 java.lang.String getBackupFileName()
           
 java.lang.String getBackupPath()
           
 BootstrapManager getBootstrapManager()
           
 java.lang.String getDefaultBackpuFileName()
           
 java.lang.String getDefaultExportPath()
           
 java.lang.String getDefaultMigrationLocation()
           
 ImportExportManager getImportExportManager()
           
 java.lang.String getPath()
           
 boolean isBackupSelected()
           
 boolean isClearArtifacts()
           
 boolean isHotSwapSelected()
           
 void setAdminErrorHandler(AdminErrorHandler adminErrorHandler)
           
 void setBackupFileName(java.lang.String backupFileName)
           
 void setBackupPath(java.lang.String backupPath)
           
 void setBackupSelected(boolean backupSelected)
           
 void setBootstrapManager(BootstrapManager bootstrapManager)
           
 void setBuildResultsIndexer(BuildResultsIndexer buildResultsIndexer)
           
 void setClearArtifacts(boolean clearArtifacts)
           
 void setHotSwapSelected(boolean hotSwapSelected)
           
 void setImportExportManager(ImportExportManager importExportManager)
           
 void setPath(java.lang.String path)
           
 void setSvnClientManagerFactory(SVNClientManagerFactory svnClientManagerFactory)
           
 void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
           
 void setUserConfigurationService(UserConfigurationService userConfigurationService)
           
 void validate()
           
 
Methods inherited from class com.atlassian.bamboo.ww2.actions.admin.migration.AbstractMigrationAction
getCanonicalFileName, isPathManipulationAllowed, validateDirectoryExists, validateFileExists, validateMigrationLocation, validatePathIfSetByUser
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
 
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
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Constructor Detail

Import

public Import()
Method Detail

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.