com.atlassian.bamboo.ww2.actions.admin.bulk.repository
Class UpdateWebUrlBulkAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.admin.bulk.repository.AbstractRepositoryBulkAction
              extended by com.atlassian.bamboo.ww2.actions.admin.bulk.repository.UpdateWebUrlBulkAction
All Implemented Interfaces:
ErrorCollection, BulkAction, BulkActionScope, RepositoryAwareBulkAction, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable

public class UpdateWebUrlBulkAction
extends AbstractRepositoryBulkAction

See Also:
Serialized Form

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
UpdateWebUrlBulkAction(WebRepositoryViewerManager webRepositoryManager)
           
 
Method Summary
 java.lang.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
 java.lang.String getKey()
          Unique identifier for the action
 Chain getMockBuildForView(java.util.Map<java.lang.String,java.lang.String[]> params)
           
 java.util.List<RepositoryDefinition> getRepositoryDefinitions(Plan plan)
           
 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
 java.util.List<WebRepositoryViewer> getWebRepositoryViewers()
           
 boolean isApplicable(Plan plan)
          Returns whether or not a plan is applicable for a certain bulk action, eg.
 
Methods inherited from class com.atlassian.bamboo.ww2.actions.admin.bulk.repository.AbstractRepositoryBulkAction
getResultAction, hasUpdates, isApplicableForRepositories, populateActionParameters, populateActionParameters
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addActionError, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager
 
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.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Constructor Detail

UpdateWebUrlBulkAction

public UpdateWebUrlBulkAction(WebRepositoryViewerManager webRepositoryManager)
Method Detail

getKey

@NotNull
public java.lang.String getKey()
Description copied from interface: BulkAction
Unique identifier for the action

Returns:

getTitle

@NotNull
public java.lang.String getTitle()
Description copied from interface: BulkAction
What the label for the bulk action is

Returns:

getChangedItem

@NotNull
public java.lang.String getChangedItem()
Description copied from interface: BulkAction
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

@NotNull
public BulkAction.WebWorkAction getViewAction()
Description copied from interface: BulkAction
Action to run to get the view of the current value for this bulk action

Returns:

getViewUpdatedAction

@NotNull
public BulkAction.WebWorkAction getViewUpdatedAction()
Description copied from interface: BulkAction
Action to run to get the view of the updated value for this bulk action

Returns:

getEditSnippetAction

@NotNull
public BulkAction.WebWorkAction getEditSnippetAction()
Description copied from interface: BulkAction
Action to return the edit snippet (no form tags) edit the value. The snippet will not have access to any plan values

Returns:

getExecuteAction

@NotNull
public BulkAction.WebWorkAction getExecuteAction()
Description copied from interface: BulkAction
The final action to execute to act on the bulk action

Specified by:
getExecuteAction in interface BulkAction
Overrides:
getExecuteAction in class AbstractRepositoryBulkAction
Returns:

isApplicable

public boolean isApplicable(Plan plan)
Description copied from interface: BulkActionScope
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

Specified by:
isApplicable in interface BulkActionScope
Overrides:
isApplicable in class AbstractRepositoryBulkAction
Returns:
true if applicable

getRepositoryDefinitions

public java.util.List<RepositoryDefinition> getRepositoryDefinitions(@NotNull
                                                                     Plan plan)

getWebRepositoryViewers

public java.util.List<WebRepositoryViewer> getWebRepositoryViewers()

getMockBuildForView

public Chain getMockBuildForView(java.util.Map<java.lang.String,java.lang.String[]> params)


Copyright © 2012 Atlassian. All Rights Reserved.