public abstract class

AbstractRepositoryBulkAction

extends BambooActionSupport
implements RepositoryAwareBulkAction
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.bamboo.ww2.BambooActionSupport
       ↳ com.atlassian.bamboo.ww2.actions.admin.bulk.repository.AbstractRepositoryBulkAction
Known Direct Subclasses
Known Indirect Subclasses

Summary

[Expand]
Inherited Constants
From class com.atlassian.bamboo.ww2.BambooActionSupport
From interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkAction
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.bamboo.ww2.BambooActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
AbstractRepositoryBulkAction()
Public Methods
@NotNull BulkAction.WebWorkAction getExecuteAction()
The final action to execute to act on the bulk action
@NotNull BulkAction.WebWorkAction getResultAction()
Action to show the result of the bulk action
boolean hasUpdates()
Returns whether or not a plan's details have been updated in order to carry out the bulk action
boolean isApplicable(Plan plan)
Returns whether or not a plan is applicable for a certain bulk action, eg.
boolean isApplicableForRepositories()
void populateActionParameters(ActionParametersMap actionParameters, Plan plan, RepositoryDefinition repositoryDefinition)
void populateActionParameters(ActionParametersMap actionParameters, Plan plan)
Provides possibility to populate action parameters before executing bulk action.
[Expand]
Inherited Methods
From class com.atlassian.bamboo.ww2.BambooActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.bamboo.utils.error.ErrorCollection
From interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkAction
From interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkActionScope
From interface com.atlassian.bamboo.ww2.actions.admin.bulk.repository.RepositoryAwareBulkAction
From interface com.atlassian.bamboo.ww2.aware.BambooSessionAware
From interface com.atlassian.bamboo.ww2.aware.NavigationAware
From interface com.atlassian.bamboo.ww2.aware.ReturnUrlAware
From interface com.atlassian.bamboo.ww2.aware.permissions.DomainObjectSecurityAware
From interface com.atlassian.core.i18n.I18nTextProvider
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware
From interface com.uwyn.rife.continuations.ContinuableObject

Public Constructors

public AbstractRepositoryBulkAction ()

Public Methods

@NotNull public BulkAction.WebWorkAction getExecuteAction ()

The final action to execute to act on the bulk action

@NotNull public BulkAction.WebWorkAction getResultAction ()

Action to show the result of the bulk action

public boolean hasUpdates ()

Returns whether or not a plan's details have been updated in order to carry out the bulk action

Returns
  • true if updated

public boolean isApplicable (Plan plan)

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

Returns
  • true if applicable

public boolean isApplicableForRepositories ()

public void populateActionParameters (ActionParametersMap actionParameters, Plan plan, RepositoryDefinition repositoryDefinition)

public void populateActionParameters (ActionParametersMap actionParameters, Plan plan)

Provides possibility to populate action parameters before executing bulk action.

Parameters
actionParameters Action parameters to be populated
plan Plan which will be subject to action