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

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.Backup
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 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
administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.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 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 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, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, 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, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
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
 

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.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.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)

getBackupConfigured

public java.lang.String getBackupConfigured()

setBackupConfigured

public void setBackupConfigured(java.lang.String backupConfigured)


Copyright © 2012 Atlassian. All Rights Reserved.