Class ManualBuildBulkAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BulkAction, BulkActionScope, BambooSessionAware, BuildableAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAware, ProjectAware, 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

public class ManualBuildBulkAction extends BuildActionSupport implements BulkAction
See Also:
  • Constructor Details

    • ManualBuildBulkAction

      public ManualBuildBulkAction()
    • ManualBuildBulkAction

      public ManualBuildBulkAction(@NotNull @NotNull PlanManager planManager)
  • Method Details

    • getKey

      @NotNull public @NotNull String getKey()
      Description copied from interface: BulkAction
      Unique identifier for the action
      Specified by:
      getKey in interface BulkAction
      Returns:
    • getTitle

      @NotNull public @NotNull String getTitle()
      Description copied from interface: BulkAction
      What the label for the bulk action is
      Specified by:
      getTitle in interface BulkAction
      Returns:
    • getChangedItem

      @NotNull public @NotNull String getChangedItem()
      Description copied from interface: BulkAction
      Description of what will be changed as a result of this bulk action, also used as table heading to show what will be changed and what it has changed to
      Specified by:
      getChangedItem in interface BulkAction
      Returns:
    • getViewAction

      @NotNull public @NotNull BulkAction.WebWorkAction getViewAction()
      Description copied from interface: BulkAction
      Action to run to get the view of the current value for this bulk action
      Specified by:
      getViewAction in interface BulkAction
      Returns:
    • getViewUpdatedAction

      @NotNull public @NotNull BulkAction.WebWorkAction getViewUpdatedAction()
      Description copied from interface: BulkAction
      Action to run to get the view of the updated value for this bulk action
      Specified by:
      getViewUpdatedAction in interface BulkAction
      Returns:
    • getEditSnippetAction

      @NotNull public @NotNull BulkAction.WebWorkAction getEditSnippetAction()
      Description copied from interface: BulkAction
      Action to return the edit snippet (no form tags) edit the value. The snippet will not have access to any plan values
      Specified by:
      getEditSnippetAction in interface BulkAction
      Returns:
    • getExecuteAction

      @NotNull public @NotNull BulkAction.WebWorkAction getExecuteAction()
      Description copied from interface: BulkAction
      The final action to execute to act on the bulk action
      Specified by:
      getExecuteAction in interface BulkAction
      Returns:
    • getResultAction

      @NotNull public @NotNull BulkAction.WebWorkAction getResultAction()
      Description copied from interface: BulkAction
      Action to view the new values after executing the bulk action
      Specified by:
      getResultAction in interface BulkAction
      Returns:
    • isApplicableForRepositories

      public boolean isApplicableForRepositories()
      Specified by:
      isApplicableForRepositories in interface BulkActionScope
    • isApplicable

      public boolean isApplicable(ImmutablePlan plan)
      Description copied from interface: BulkActionScope
      Returns whether or not a plan is applicable for a certain bulk action, eg. only plans with svn repositories for an action updating svn details
      Specified by:
      isApplicable in interface BulkActionScope
      Returns:
      true if applicable
    • hasUpdates

      public boolean hasUpdates()
      Description copied from interface: BulkAction
      Returns whether or not a plan's details have been updated in order to carry out the bulk action
      Specified by:
      hasUpdates in interface BulkAction
      Returns:
      true if updated
    • populateActionParameters

      public void populateActionParameters(@NotNull @NotNull ActionParametersMap actionParameters, @NotNull @NotNull ImmutablePlan plan)
      Description copied from interface: BulkAction
      Provides possibility to populate action parameters before executing bulk action.
      Specified by:
      populateActionParameters in interface BulkAction
      Parameters:
      actionParameters - Action parameters to be populated
      plan - Plan which will be subject to action
    • getTotalBulkActionErrors

      public int getTotalBulkActionErrors()
    • setTotalBulkActionErrors

      public void setTotalBulkActionErrors(int totalBulkActionErrors)
    • getNewDependenciesDisabled

      public boolean getNewDependenciesDisabled(Map<String,String[]> params)