public class DisablePlanBulkAction extends BuildActionSupport implements BulkAction
BambooActionSupport.JSONStatus
BulkAction.WebWorkAction, BulkAction.WebWorkActionImpl
buildExecutionManager
buildNumber, jiraApplinksService, repositoryDefinitionManager, resultsSummaryManager, vcsRepositoryConfigurationService
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
WW_NAMESPACE_ADMIN, WW_NAMESPACE_BUILD_ADMIN, WW_NAMESPACE_BUILD_ADMIN_EDIT, WW_NAMESPACE_BULK_ACTIONS, WW_NAMESPACE_CHAIN_ADMIN, WW_NAMESPACE_CHAIN_CONFIG
Constructor and Description |
---|
DisablePlanBulkAction() |
DisablePlanBulkAction(PlanManager planManager) |
Modifier and Type | Method and Description |
---|---|
String |
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
|
BulkAction.WebWorkAction |
getEditSnippetAction()
Action to return the edit snippet (no form tags) edit the value.
|
BulkAction.WebWorkAction |
getExecuteAction()
The final action to execute to act on the bulk action
|
String |
getKey()
Unique identifier for the action
|
boolean |
getNewDependenciesDisabled(Map<String,String[]> params) |
BulkAction.WebWorkAction |
getResultAction()
Action to view the new values after executing the bulk action
|
String |
getTitle()
What the label for the bulk action is
|
int |
getTotalBulkActionErrors() |
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 |
hasUpdates()
Returns whether or not a plan's details have been updated in order to carry out the bulk action
|
boolean |
isApplicable(ImmutablePlan 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 |
setTotalBulkActionErrors(int totalBulkActionErrors) |
getBuildResultKey, getCurrentlyBuilding, getCurrentlyBuildingList, getCurrentlyRunningBuildResultKeys, getImmutableBuild, getMutableBuild, setBuild, setBuildExecutionManager, setBuildResultKey
buildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, getFirstNotRunnableStage, getImmutablePlan, getJobsWebItemsForSection, getMutablePlan, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getSecuredDomainObject, getTypedPlanKey, getTypedPlanResultKey, isContinuable, isJiraApplicationLinkDefined, isRestartable, planNotFound, setBuildContextFactory, setBuildKey, setBuildNumber, setDecoratingErrorAccessor, setJiraApplinksService, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setRepositoryDefinitionManager, setResultsSummaryManager, setVcsRepositoryConfigurationService
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasProjectPermission, hasProjectPermission, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllErrorMessages
public DisablePlanBulkAction()
public DisablePlanBulkAction(@NotNull PlanManager planManager)
@NotNull public String getKey()
BulkAction
getKey
in interface BulkAction
@NotNull public String getTitle()
BulkAction
getTitle
in interface BulkAction
@NotNull public String getChangedItem()
BulkAction
getChangedItem
in interface BulkAction
@NotNull public BulkAction.WebWorkAction getViewAction()
BulkAction
getViewAction
in interface BulkAction
@NotNull public BulkAction.WebWorkAction getViewUpdatedAction()
BulkAction
getViewUpdatedAction
in interface BulkAction
@NotNull public BulkAction.WebWorkAction getEditSnippetAction()
BulkAction
getEditSnippetAction
in interface BulkAction
@NotNull public BulkAction.WebWorkAction getExecuteAction()
BulkAction
getExecuteAction
in interface BulkAction
@NotNull public BulkAction.WebWorkAction getResultAction()
BulkAction
getResultAction
in interface BulkAction
public boolean isApplicableForRepositories()
isApplicableForRepositories
in interface BulkActionScope
public boolean isApplicable(ImmutablePlan plan)
BulkActionScope
isApplicable
in interface BulkActionScope
public boolean hasUpdates()
BulkAction
hasUpdates
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 int getTotalBulkActionErrors()
public void setTotalBulkActionErrors(int totalBulkActionErrors)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.