com.atlassian.bamboo.ww2.actions.admin.bulk
Interface BulkAction

All Known Implementing Classes:
AddNotificationBulkAction, UpdateCvsModuleBulkAction, UpdateCvsRootCredentialsBulkAction, UpdateSvnCredentialsBulkAction, UpdateSvnUrlBulkAction, UpdateWebUrlBulkAction

public interface BulkAction

Interface that defines an action that can be executed across multiple plans


Nested Class Summary
static interface BulkAction.WebWorkAction
           
 
Method Summary
 java.lang.String getChangedItem()
          Description of what's being "bulked"
 BulkAction.WebWorkAction getEditSnippetAction()
          Action to return the edit snipper (no form tags) edit the value.
 BulkAction.WebWorkAction getExecuteAction()
          The final action to execute to act on the bulk action
 java.lang.String getKey()
          Unique identifier for the action
 java.lang.String getTitle()
          What the label for the bulk action is
 BulkAction.WebWorkAction getViewAction()
          Action to run to get the view of the current value for this bulk action
 BulkAction.WebWorkAction getViewUpdatedAction()
          Action to run to get the view of the updated value for this bulk action
 boolean isApplicable(Build plan)
          Returns whether or not a plan is applicable for a certain bulk action, eg.
 

Method Detail

getKey

@NotNull
java.lang.String getKey()
Unique identifier for the action

Returns:

getTitle

@NotNull
java.lang.String getTitle()
What the label for the bulk action is

Returns:

getChangedItem

@NotNull
java.lang.String getChangedItem()
Description of what's being "bulked"

Returns:

getViewAction

@NotNull
BulkAction.WebWorkAction getViewAction()
Action to run to get the view of the current value for this bulk action

Returns:

getViewUpdatedAction

@NotNull
BulkAction.WebWorkAction getViewUpdatedAction()
Action to run to get the view of the updated value for this bulk action

Returns:

getEditSnippetAction

@NotNull
BulkAction.WebWorkAction getEditSnippetAction()
Action to return the edit snipper (no form tags) edit the value. The snippet will not have access to any plan values

Returns:

getExecuteAction

@NotNull
BulkAction.WebWorkAction getExecuteAction()
The final action to execute to act on the bulk action

Returns:

isApplicable

boolean isApplicable(Build 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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.