Interface BulkAction
- All Superinterfaces:
BulkActionScope
- All Known Subinterfaces:
RepositoryAwareBulkAction
- All Known Implementing Classes:
AbstractNotificationBulkAction,AbstractRepositoryBulkAction,AddNotificationBulkAction,DeleteAllNotificationBulkAction,DisablePlanBulkAction,EnablePlanBulkAction,ManualBuildBulkAction,ReplaceTriggersBulkAction,SvnBulkAction,UpdateSvnCredentialsBulkAction,UpdateSvnUrlBulkAction,UpdateWebUrlBulkAction
Interface that defines an action that can be executed across multiple plans
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull StringDescription 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@NotNull BulkAction.WebWorkActionAction to return the edit snippet (no form tags) edit the value.@NotNull BulkAction.WebWorkActionThe final action to execute to act on the bulk action@NotNull StringgetKey()Unique identifier for the action@NotNull BulkAction.WebWorkActionAction to view the new values after executing the bulk action@NotNull StringgetTitle()What the label for the bulk action is@NotNull BulkAction.WebWorkActionAction to run to get the view of the current value for this bulk action@NotNull BulkAction.WebWorkActionAction to run to get the view of the updated value for this bulk actionbooleanReturns whether or not a plan's details have been updated in order to carry out the bulk actionvoidpopulateActionParameters(@NotNull ActionParametersMap actionParameters, @NotNull ImmutablePlan plan) Provides possibility to populate action parameters before executing bulk action.Methods inherited from interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkActionScope
isApplicable, isApplicableForRepositories
-
Field Details
-
WW_NAMESPACE_ADMIN
- See Also:
-
WW_NAMESPACE_BULK_ACTIONS
- See Also:
-
WW_NAMESPACE_BUILD_ADMIN
- See Also:
-
WW_NAMESPACE_BUILD_ADMIN_EDIT
- See Also:
-
WW_NAMESPACE_CHAIN_CONFIG
- See Also:
-
WW_NAMESPACE_CHAIN_ADMIN
- See Also:
-
-
Method Details
-
getKey
Unique identifier for the action- Returns:
-
getTitle
What the label for the bulk action is- Returns:
-
getChangedItem
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- Returns:
-
getViewAction
Action to run to get the view of the current value for this bulk action- Returns:
-
getViewUpdatedAction
Action to run to get the view of the updated value for this bulk action- Returns:
-
getEditSnippetAction
Action to return the edit snippet (no form tags) edit the value. The snippet will not have access to any plan values- Returns:
-
getExecuteAction
The final action to execute to act on the bulk action- Returns:
-
getResultAction
Action to view the new values after executing the bulk action- Returns:
-
hasUpdates
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
-
populateActionParameters
void populateActionParameters(@NotNull @NotNull ActionParametersMap actionParameters, @NotNull @NotNull ImmutablePlan plan) Provides possibility to populate action parameters before executing bulk action.- Parameters:
actionParameters- Action parameters to be populatedplan- Plan which will be subject to action
-