|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.bamboo.ww2.BambooActionSupport com.atlassian.bamboo.ww2.actions.admin.bulk.repository.AbstractRepositoryBulkAction
public abstract class AbstractRepositoryBulkAction
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
BambooActionSupport.JSONStatus |
Nested classes/interfaces inherited from interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkAction |
---|
BulkAction.WebWorkAction, BulkAction.WebWorkActionImpl |
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkAction |
---|
WW_NAMESPACE_ADMIN, WW_NAMESPACE_BUILD_ADMIN, WW_NAMESPACE_BUILD_ADMIN_EDIT, WW_NAMESPACE_CHAIN_ADMIN, WW_NAMESPACE_CHAIN_CONFIG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
AbstractRepositoryBulkAction()
|
Method Summary | |
---|---|
BulkAction.WebWorkAction |
getExecuteAction()
The final action to execute to act on the bulk action |
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)
Provides possibility to populate action parameters before executing bulk action. |
void |
populateActionParameters(ActionParametersMap actionParameters,
Plan plan,
RepositoryDefinition repositoryDefinition)
|
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.ww2.actions.admin.bulk.repository.RepositoryAwareBulkAction |
---|
getRepositoryDefinitions |
Methods inherited from interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkAction |
---|
getChangedItem, getEditSnippetAction, getKey, getTitle, getViewAction, getViewUpdatedAction |
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection |
---|
getErrorMessages, getErrors, getFieldErrors |
Constructor Detail |
---|
public AbstractRepositoryBulkAction()
Method Detail |
---|
public boolean isApplicable(Plan plan)
BulkActionScope
isApplicable
in interface BulkActionScope
public boolean isApplicableForRepositories()
isApplicableForRepositories
in interface BulkActionScope
public boolean hasUpdates()
BulkAction
hasUpdates
in interface BulkAction
@NotNull public BulkAction.WebWorkAction getResultAction()
getResultAction
in interface BulkAction
@NotNull public BulkAction.WebWorkAction getExecuteAction()
BulkAction
getExecuteAction
in interface BulkAction
public void populateActionParameters(@NotNull ActionParametersMap actionParameters, @NotNull Plan plan)
BulkAction
populateActionParameters
in interface BulkAction
actionParameters
- Action parameters to be populatedplan
- Plan which will be subject to actionpublic void populateActionParameters(@NotNull ActionParametersMap actionParameters, @NotNull Plan plan, @NotNull RepositoryDefinition repositoryDefinition)
populateActionParameters
in interface RepositoryAwareBulkAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |