public abstract class AbstractRepositoryBulkAction extends BambooActionSupport implements RepositoryAwareBulkAction
BambooActionSupport.JSONStatusBulkAction.WebWorkAction, BulkAction.WebWorkActionImplACCESS_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, webInterfaceManagerWW_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 |
|---|
AbstractRepositoryBulkAction() |
| Modifier and Type | Method and Description |
|---|---|
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(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 |
populateActionParameters(ActionParametersMap actionParameters,
Plan plan,
PlanRepositoryDefinition repositoryDefinition) |
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, 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, getSecuredDomainObject, 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, hasRestrictedAdminPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJsonaddActionMessage, 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, validateequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRepositoryDefinitionsgetChangedItem, getEditSnippetAction, getKey, getTitle, getViewAction, getViewUpdatedActiongetAllErrorMessagespublic boolean isApplicable(ImmutablePlan plan)
BulkActionScopeisApplicable in interface BulkActionScopepublic boolean isApplicableForRepositories()
isApplicableForRepositories in interface BulkActionScopepublic boolean hasUpdates()
BulkActionhasUpdates in interface BulkAction@NotNull public BulkAction.WebWorkAction getResultAction()
getResultAction in interface BulkAction@NotNull public BulkAction.WebWorkAction getExecuteAction()
BulkActiongetExecuteAction in interface BulkActionpublic void populateActionParameters(@NotNull
ActionParametersMap actionParameters,
@NotNull
Plan plan)
BulkActionpopulateActionParameters in interface BulkActionactionParameters - Action parameters to be populatedplan - Plan which will be subject to actionpublic void populateActionParameters(@NotNull
ActionParametersMap actionParameters,
@NotNull
Plan plan,
@NotNull
PlanRepositoryDefinition repositoryDefinition)
populateActionParameters in interface RepositoryAwareBulkActionCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.