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, 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, 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
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()
           
 BootstrapManager getBootstrapManager()
           
 BambooCronEditorBean getCronEditorBean()
           
 java.lang.String getDefaultMigrationLocation()
           
 java.lang.String getExportArtifacts()
           
 java.lang.String getFileDateFormat()
           
 java.lang.String getFileExample()
           
 java.lang.String getFilePrefix()
           
 java.util.Date getNextFireTime()
           
 java.lang.String getPrettyCronExpression()
           
 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 setCronEditorBean(BambooCronEditorBean cronEditorBean)
           
 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
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, 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
 

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

getPrettyCronExpression

public java.lang.String getPrettyCronExpression()

getNextFireTime

public java.util.Date getNextFireTime()

getCronEditorBean

public BambooCronEditorBean getCronEditorBean()

setCronEditorBean

public void setCronEditorBean(BambooCronEditorBean cronEditorBean)

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)

getBootstrapManager

public BootstrapManager getBootstrapManager()
Overrides:
getBootstrapManager in class BambooActionSupport

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 © 2010 Atlassian. All Rights Reserved.