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, 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, buildDefinitionManager, buildManager, commentManager, 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 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 setHotSwapSelected(boolean hotSwapSelected)
           
 void setImportExportManager(ImportExportManager importExportManager)
           
 void setJiraMetaDataManager(JiraMetaDataManager jiraMetaDataManager)
           
 void setJiraRemoteIssueManager(JiraRemoteIssueManager jiraRemoteIssueManager)
           
 void setJiraServerManager(JiraServerManager jiraServerManager)
           
 void setPath(java.lang.String path)
           
 void setSvnClientManagerFactory(SVNClientManagerFactory svnClientManagerFactory)
           
 void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
           
 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, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBreadCrumbs, getBuildManager, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setCheckBoxFields, setCommentManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setPlanExecutionManager, setPlanManager, 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)

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)

setJiraRemoteIssueManager

public void setJiraRemoteIssueManager(JiraRemoteIssueManager jiraRemoteIssueManager)

setJiraMetaDataManager

public void setJiraMetaDataManager(JiraMetaDataManager jiraMetaDataManager)

setSvnClientManagerFactory

public void setSvnClientManagerFactory(SVNClientManagerFactory svnClientManagerFactory)

setJiraServerManager

public void setJiraServerManager(JiraServerManager jiraServerManager)


Copyright © 2010 Atlassian. All Rights Reserved.