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

java.lang.Object
  extended by com.opensymphony.xwork2.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.Backup
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, java.io.Serializable

public class Backup
extends AbstractMigrationAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
static java.lang.String DEFAULT_CRON_EXPRESSION
           
 
Fields inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, deploymentProjectService, environmentService, featureManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
Backup()
           
 
Method Summary
 java.lang.String doDefault()
          Default action just sends to the input
 java.lang.String doEdit()
           
 java.lang.String doSave()
           
 java.lang.String getAwaitJobCompletion()
           
 java.lang.String getBackupConfigured()
           
 java.lang.String getBackupCronExpression()
           
 java.lang.String getBackupDisabled()
           
 java.lang.String getBackupPath()
           
 java.lang.String getDefaultMigrationLocation()
           
 java.lang.String getExportArtifacts()
           
 java.lang.String getFileDateFormat()
           
 java.lang.String getFileExample()
           
 java.lang.String getFilePrefix()
           
 java.util.Date getNextFireTime()
           
 ScheduleBackupBeanImpl getScheduleBackupBean()
           
 void setAwaitJobCompletion(java.lang.String awaitJobCompletion)
           
 void setBackupConfigured(java.lang.String backupConfigured)
           
 void setBackupCronExpression(java.lang.String backupCronExpression)
           
 void setBackupDisabled(java.lang.String backupDisabled)
           
 void setBackupPath(java.lang.String backupPath)
           
 void setBootstrapManager(BootstrapManager bootstrapManager)
           
 void setExportArtifacts(java.lang.String exportArtifacts)
           
 void setFileDateFormat(java.lang.String fileDateFormat)
           
 void setFileExample(java.lang.String fileExample)
           
 void setFilePrefix(java.lang.String filePrefix)
           
 void setScheduleBackupBean(ScheduleBackupBeanImpl scheduleBackupBeanImpl)
           
 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
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getFormattedErrorMessages, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setDeploymentProjectService, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLinkedDeploymentProjectCacheService, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, 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
 
Methods inherited from interface com.opensymphony.xwork2.ValidationAware
addActionMessage, addFieldError, getActionErrors, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
 

Field Detail

DEFAULT_CRON_EXPRESSION

public static final java.lang.String DEFAULT_CRON_EXPRESSION
See Also:
Constant Field Values
Constructor Detail

Backup

public Backup()
Method Detail

doDefault

public java.lang.String doDefault()
Description copied from class: BambooActionSupport
Default action just sends to the input

Overrides:
doDefault in class BambooActionSupport

doEdit

public java.lang.String doEdit()

doSave

public java.lang.String doSave()

validate

public void validate()
Specified by:
validate in interface com.opensymphony.xwork2.Validateable
Overrides:
validate in class com.opensymphony.xwork2.ActionSupport

getNextFireTime

public java.util.Date getNextFireTime()

getDefaultMigrationLocation

public java.lang.String getDefaultMigrationLocation()
Specified by:
getDefaultMigrationLocation in class AbstractMigrationAction

getBackupPath

public java.lang.String getBackupPath()

setBackupPath

public void setBackupPath(java.lang.String backupPath)

getFileDateFormat

public java.lang.String getFileDateFormat()

setFileDateFormat

public void setFileDateFormat(java.lang.String fileDateFormat)

getFilePrefix

public java.lang.String getFilePrefix()

setFilePrefix

public void setFilePrefix(java.lang.String filePrefix)

getBackupDisabled

public java.lang.String getBackupDisabled()

setBackupDisabled

public void setBackupDisabled(java.lang.String backupDisabled)

getBackupCronExpression

public java.lang.String getBackupCronExpression()

setBackupCronExpression

public void setBackupCronExpression(java.lang.String backupCronExpression)

getFileExample

public java.lang.String getFileExample()

setFileExample

public void setFileExample(java.lang.String fileExample)

setBootstrapManager

public void setBootstrapManager(BootstrapManager bootstrapManager)

getScheduleBackupBean

public ScheduleBackupBeanImpl getScheduleBackupBean()

setScheduleBackupBean

public void setScheduleBackupBean(ScheduleBackupBeanImpl scheduleBackupBeanImpl)

getExportArtifacts

public java.lang.String getExportArtifacts()

setExportArtifacts

public void setExportArtifacts(java.lang.String exportArtifacts)

getAwaitJobCompletion

public java.lang.String getAwaitJobCompletion()

setAwaitJobCompletion

public void setAwaitJobCompletion(java.lang.String awaitJobCompletion)

getBackupConfigured

public java.lang.String getBackupConfigured()

setBackupConfigured

public void setBackupConfigured(java.lang.String backupConfigured)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.