Class AbstractMigrationAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.GlobalAdminAction
com.atlassian.bamboo.ww2.actions.admin.migration.AbstractMigrationAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
Backup, Export, Import

public abstract class AbstractMigrationAction extends GlobalAdminAction
See Also:
  • Constructor Details

    • AbstractMigrationAction

      public AbstractMigrationAction()
  • Method Details

    • isPathManipulationAllowed

      public boolean isPathManipulationAllowed()
    • getCanonicalFileName

      @NotNull protected @NotNull String getCanonicalFileName(@NotNull @NotNull String path, @NotNull @NotNull String filename)
    • getDefaultMigrationLocation

      public abstract String getDefaultMigrationLocation()
    • validateFileExists

      protected boolean validateFileExists(@NotNull @NotNull String path, @NotNull @NotNull String pathField)
    • validateDirectoryExists

      protected boolean validateDirectoryExists(@NotNull @NotNull String path, @NotNull @NotNull String pathField)
    • validateMigrationLocation

      protected boolean validateMigrationLocation(@NotNull @NotNull String path, @NotNull @NotNull String pathField, @NotNull @NotNull String filename, @NotNull @NotNull String fileField)
    • validatePathIfSetByUser

      protected void validatePathIfSetByUser(String path, String fieldName)